From b50e3fabb03b54f98910e21e92cd0327b39af493 Mon Sep 17 00:00:00 2001 From: Robert Jordens Date: Wed, 9 Mar 2016 14:34:10 +0100 Subject: [PATCH] hardware_testbench: also print artiq_core_exeption --- artiq/test/hardware_testbench.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/artiq/test/hardware_testbench.py b/artiq/test/hardware_testbench.py index 1eaa6530d..a8726fce7 100644 --- a/artiq/test/hardware_testbench.py +++ b/artiq/test/hardware_testbench.py @@ -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