diff --git a/src/net_processing.cpp b/src/net_processing.cpp index dc869c9a87..34e5888c83 100644 --- a/src/net_processing.cpp +++ b/src/net_processing.cpp @@ -3817,7 +3817,7 @@ void PeerManagerImpl::ProcessMessage(CNode& pfrom, const std::string& msg_type, // should not call LookupBlockIndex below. RemoveBlockRequest(resp.blockhash, pfrom.GetId()); Misbehaving(pfrom.GetId(), 100, "previous compact block reconstruction attempt failed"); - LogPrint(BCLog::NET, "Peer %d sent compact block transactions multiple times", pfrom.GetId()); + LogPrint(BCLog::NET, "Peer %d sent compact block transactions multiple times\n", pfrom.GetId()); return; } diff --git a/test/functional/test_framework/test_framework.py b/test/functional/test_framework/test_framework.py index 887f617097..c78d76b07c 100755 --- a/test/functional/test_framework/test_framework.py +++ b/test/functional/test_framework/test_framework.py @@ -130,26 +130,14 @@ class BitcoinTestFramework(metaclass=BitcoinTestMetaClass): try: self.setup() self.run_test() - except JSONRPCException: - self.log.exception("JSONRPC error") - self.success = TestStatus.FAILED except SkipTest as e: self.log.warning("Test Skipped: %s" % e.message) self.success = TestStatus.SKIPPED - except AssertionError: - self.log.exception("Assertion failed") - self.success = TestStatus.FAILED - except KeyError: - self.log.exception("Key error") - self.success = TestStatus.FAILED except subprocess.CalledProcessError as e: - self.log.exception("Called Process failed with '{}'".format(e.output)) + self.log.exception(f"Called Process failed with stdout='{e.stdout}'; stderr='{e.stderr}';") self.success = TestStatus.FAILED - except Exception: - self.log.exception("Unexpected exception caught during testing") - self.success = TestStatus.FAILED - except KeyboardInterrupt: - self.log.warning("Exiting after keyboard interrupt") + except BaseException: + self.log.exception("Unexpected exception") self.success = TestStatus.FAILED finally: exit_code = self.shutdown()