From 59068ea071019694e696d02ecc8e74f8fa4554b8 Mon Sep 17 00:00:00 2001 From: mdr0id Date: Thu, 5 Dec 2019 20:56:55 -0800 Subject: [PATCH] fix except bug for undefined url --- qa/rpc-tests/test_framework/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qa/rpc-tests/test_framework/util.py b/qa/rpc-tests/test_framework/util.py index 41a256cb8..6d1a7f045 100644 --- a/qa/rpc-tests/test_framework/util.py +++ b/qa/rpc-tests/test_framework/util.py @@ -161,7 +161,7 @@ def initialize_chain(test_dir): try: rpcs.append(get_rpc_proxy(rpc_url(i), i)) except: - sys.stderr.write("Error connecting to "+url+"\n") + sys.stderr.write("Error connecting to "+rpc_url(i)+"\n") sys.exit(1) # Create a 200-block-long chain; each of the 4 nodes