1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

add exception class name to error string

This commit is contained in:
Kelly Brazil
2021-09-22 19:32:20 -07:00
parent d410425537
commit 978760ec57

View File

@ -191,7 +191,7 @@ def stream_error(e, quiet, line):
'_meta':
{
'success': False,
'error': f'{e}',
'error': f'{e.__class__.__name__}: {e}',
'line': line.strip()
}
}