diff --git a/jc/cli.py b/jc/cli.py index 2b7e7dc4..42fc76f4 100644 --- a/jc/cli.py +++ b/jc/cli.py @@ -750,6 +750,9 @@ class JcCli(): self.exit_error() except Exception as e: + if self.debug: + raise + utils.error_message( [ 'Exit due to unexpected error:',