From 978760ec57e04e3ec347c8764bfad015b6dddbff Mon Sep 17 00:00:00 2001 From: Kelly Brazil Date: Wed, 22 Sep 2021 19:32:20 -0700 Subject: [PATCH] add exception class name to error string --- jc/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jc/utils.py b/jc/utils.py index 06a2a8b0..10322475 100644 --- a/jc/utils.py +++ b/jc/utils.py @@ -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() } }