def METHOD_NAME(*args, **kwargs):
    try:
        func(*args, **kwargs)
    except tuple(exception_list) as ex:  # noqa: B030
        from .cli import get_log_level  # defer circular imports to avoid errors
        if get_log_level() <= logging.DEBUG:
            # user surely wants to see the stacktrace
            traceback.print_exc()
        print(f"ERROR: {ex}")
        sys.exit(1)