forked from M-Labs/artiq
worker: print core device tracebacks. Closes #292
This commit is contained in:
parent
c3cdce9d02
commit
dda0e0846c
@ -257,6 +257,8 @@ def main():
|
||||
if exc_str:
|
||||
short_exc_info += ": " + exc_str
|
||||
lines = ["Terminating with exception ("+short_exc_info+")\n"]
|
||||
if hasattr(exc, "artiq_core_exception"):
|
||||
lines.append(str(exc.artiq_core_exception))
|
||||
if hasattr(exc, "parent_traceback"):
|
||||
lines += exc.parent_traceback
|
||||
lines += traceback.format_exception_only(type(exc), exc)
|
||||
|
Loading…
Reference in New Issue
Block a user