We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b14507 commit cb18c18Copy full SHA for cb18c18
adk/io.py
@@ -57,7 +57,7 @@ def create_exception(exception, loading_exception=False):
57
response = json.dumps({
58
"error": {
59
"message": str(exception),
60
- "stacktrace": traceback.format_exc(),
+ "stacktrace": " ".join(traceback.format_exception(etype=type(exception), value=exception, tb=exception.__traceback__)),
61
"error_type": error_type,
62
}
63
})
0 commit comments