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:
@ -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
|
||||
|
Reference in New Issue
Block a user