diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index 1f957564453..3ab351aef4a 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -147,6 +147,9 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass): except subprocess.CalledProcessError as e: self.log.exception(f"Called Process failed with stdout='{e.stdout}'; stderr='{e.stderr}';") self.success = TestStatus.FAILED + except JSONRPCException as e: + self.log.exception(f"Failure during setup: error={e.error}, http_status={e.http_status}") + self.success = TestStatus.FAILED except BaseException: self.log.exception("Unexpected exception") self.success = TestStatus.FAILED