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

remove JSONDecodeError detection

This commit is contained in:
Kelly Brazil
2022-05-20 17:48:52 -07:00
parent f876505e25
commit cba461ce8a

View File

@ -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