1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-07-13 01:20:24 +02:00

allow debug of exceptions

This commit is contained in:
Kelly Brazil
2022-10-28 15:14:53 -07:00
parent 747d12224f
commit c405309742

View File

@ -750,6 +750,9 @@ class JcCli():
self.exit_error() self.exit_error()
except Exception as e: except Exception as e:
if self.debug:
raise
utils.error_message( utils.error_message(
[ [
'Exit due to unexpected error:', 'Exit due to unexpected error:',