diff --git a/plextraktsync/cli.py b/plextraktsync/cli.py index e3426400d13..d9fba1d6e5f 100644 --- a/plextraktsync/cli.py +++ b/plextraktsync/cli.py @@ -23,13 +23,7 @@ def wrap(*args, **kwargs): name = fn.__name__ module = importlib.import_module(f".commands.{name}", package=__package__) cmd = getattr(module, name) - - try: - cmd(*args, **kwargs) - except RuntimeError as e: - from click import ClickException - - raise ClickException(f"Error running {name} command: {str(e)}") + cmd(*args, **kwargs) return wrap