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