Skip to content

Commit 65522c8

Browse files
committed
single quote
Signed-off-by: dafnapension <[email protected]>
1 parent e90c842 commit 65522c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/unitxt/error_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -299,6 +299,6 @@ def error_context(context_object: Any = None, **context):
299299
yield
300300
except Exception as e:
301301
if e.__class__.__name__ == "KeyError":
302-
e = RuntimeError(e.__class__.__name__ + ": " + e.args[0])
302+
e = RuntimeError(e.__class__.__name__ + ": '" + e.args[0] + "'")
303303
_add_context_to_exception(e, context_object, **context)
304304
raise e

0 commit comments

Comments
 (0)