mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-19 00:17:51 +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':
|
'_meta':
|
||||||
{
|
{
|
||||||
'success': False,
|
'success': False,
|
||||||
'error': f'{e}',
|
'error': f'{e.__class__.__name__}: {e}',
|
||||||
'line': line.strip()
|
'line': line.strip()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user