forked from M-Labs/artiq
1
0
Fork 0

hardware_testbench: also print artiq_core_exeption

This commit is contained in:
Robert Jördens 2016-03-09 14:34:10 +01:00
parent 58e0e670fc
commit b50e3fabb0
1 changed files with 3 additions and 0 deletions

View File

@ -124,3 +124,6 @@ class ExperimentCase(unittest.TestCase):
except CompileError as error:
# Reduce amount of text on terminal.
raise error from None
except Exception as exn:
exn.args = exn.args[0] + "\n" + str(exn.artiq_core_exception),
raise exn