mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-23 00:29:59 +02:00
Add exception class name to error message
This commit is contained in:
@ -654,7 +654,7 @@ def main():
|
|||||||
else:
|
else:
|
||||||
jc.utils.error_message(
|
jc.utils.error_message(
|
||||||
f'Parser issue with {parser_name}:\n'
|
f'Parser issue with {parser_name}:\n'
|
||||||
f' {e}\n'
|
f' {e.__class__.__name__}: {e}\n'
|
||||||
' For details use the -d or -dd option. Use "jc -h" for help.')
|
' For details use the -d or -dd option. Use "jc -h" for help.')
|
||||||
sys.exit(combined_exit_code(magic_exit_code, JC_ERROR_EXIT))
|
sys.exit(combined_exit_code(magic_exit_code, JC_ERROR_EXIT))
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user