mirror of
https://github.com/bitcoin/bitcoin.git
synced 2026-01-18 22:35:39 +01:00
lint: enable E722 do not use bare except
This commit is contained in:
@@ -547,7 +547,7 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass):
|
||||
node.start(extra_args[i], *args, **kwargs)
|
||||
for node in self.nodes:
|
||||
node.wait_for_rpc_connection()
|
||||
except:
|
||||
except Exception:
|
||||
# If one node failed to start, stop the others
|
||||
self.stop_nodes()
|
||||
raise
|
||||
|
||||
Reference in New Issue
Block a user