aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcoFalke <[email protected]>2016-04-09 21:14:18 +0200
committerMarcoFalke <[email protected]>2016-04-09 21:21:56 +0200
commitfa05e22e919b7e2e816606f0c0d3dea1bd325bfd (patch)
tree666fc1a75282236dd2d0146d66164ebca42ea61b
parentMerge #7835: Version 2 transactions remain non-standard until CSV activates (diff)
downloaddiscoin-fa05e22e919b7e2e816606f0c0d3dea1bd325bfd.tar.xz
discoin-fa05e22e919b7e2e816606f0c0d3dea1bd325bfd.zip
[qa] pull-tester: Don't mute zmq ImportError
-rwxr-xr-xqa/pull-tester/rpc-tests.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/qa/pull-tester/rpc-tests.py b/qa/pull-tester/rpc-tests.py
index 6d3bda10e..17c0b3adf 100755
--- a/qa/pull-tester/rpc-tests.py
+++ b/qa/pull-tester/rpc-tests.py
@@ -45,10 +45,10 @@ if 'ENABLE_ZMQ' not in vars():
if ENABLE_ZMQ:
try:
import zmq
- except ImportError:
- print("WARNING: \"import zmq\" failed. Setting ENABLE_ZMQ=0. " \
- "To run zmq tests, see dependency info in /qa/README.md.")
- ENABLE_ZMQ=0
+ except ImportError as e:
+ print("WARNING: \"import zmq\" failed. Set ENABLE_ZMQ=0 or " \
+ "to run zmq tests, see dependency info in /qa/README.md.")
+ raise e
ENABLE_COVERAGE=0