mirror of https://github.com/m-labs/artiq.git
hardware_testbench: also print artiq_core_exeption
This commit is contained in:
parent
58e0e670fc
commit
b50e3fabb0
|
@ -124,3 +124,6 @@ class ExperimentCase(unittest.TestCase):
|
||||||
except CompileError as error:
|
except CompileError as error:
|
||||||
# Reduce amount of text on terminal.
|
# Reduce amount of text on terminal.
|
||||||
raise error from None
|
raise error from None
|
||||||
|
except Exception as exn:
|
||||||
|
exn.args = exn.args[0] + "\n" + str(exn.artiq_core_exception),
|
||||||
|
raise exn
|
||||||
|
|
Loading…
Reference in New Issue