fix except bug for undefined url

This commit is contained in:
mdr0id 2019-12-05 20:56:55 -08:00
parent 785c3abf05
commit 59068ea071
1 changed files with 1 additions and 1 deletions

View File

@ -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