From c405309742c66911e33de424914fdfc52697935b Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Fri, 28 Oct 2022 15:14:53 -0700 Subject: [PATCH] allow debug of exceptions --- jc/cli.py | 3 +++ 1 file changed, 3 insertions(+) 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:',