From cba461ce8ab503bf25a4d5cc8e0ac3c1c5b5ab00 Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Fri, 20 May 2022 17:48:52 -0700 Subject: [PATCH] remove JSONDecodeError detection --- jc/cli.py | 8 -------- 1 file changed, 8 deletions(-) diff --git a/jc/cli.py b/jc/cli.py index c9e6f6e9..a48fef31 100644 --- a/jc/cli.py +++ b/jc/cli.py @@ -630,14 +630,6 @@ def main(): ]) sys.exit(combined_exit_code(magic_exit_code, JC_ERROR_EXIT)) - # except json.JSONDecodeError: - # if debug: - # raise - - # utils.error_message(['There was an issue generating the JSON output.', - # 'For details use the -d or -dd option.']) - # sys.exit(combined_exit_code(magic_exit_code, JC_ERROR_EXIT)) - except Exception: if debug: raise