We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3cf67af commit be5162dCopy full SHA for be5162d
artiq/master/worker_impl.py
@@ -252,7 +252,11 @@ def main():
252
# When we get CompileError, a more suitable diagnostic has already
253
# been printed.
254
if not isinstance(exc, CompileError):
255
- lines = ["Terminating with exception\n"]
+ short_exc_info = type(exc).__name__
256
+ exc_str = str(exc)
257
+ if exc_str:
258
+ short_exc_info += ": " + exc_str
259
+ lines = ["Terminating with exception ("+short_exc_info+")\n"]
260
lines += traceback.format_exception_only(type(exc), exc)
261
if hasattr(exc, "parent_traceback"):
262
lines += exc.parent_traceback
0 commit comments