2
0
mirror of https://github.com/m-labs/artiq.git synced 2024-12-29 05:03:34 +08:00

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

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