From ccf4606cf9151d42aaa63d7395efebfc2fa50bb1 Mon Sep 17 00:00:00 2001 From: boqiu <82121246@qq.com> Date: Mon, 4 Nov 2024 16:28:54 +0800 Subject: [PATCH] add more info when launch blockchain node failed --- tests/test_framework/blockchain_node.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/test_framework/blockchain_node.py b/tests/test_framework/blockchain_node.py index 491268c..0b81fe1 100644 --- a/tests/test_framework/blockchain_node.py +++ b/tests/test_framework/blockchain_node.py @@ -130,8 +130,9 @@ class TestNode: if self.process.poll() is not None: raise FailedToStartError( self._node_msg( - "exited with status {} during initialization".format( - self.process.returncode + "exited with status {} during initialization \n\n{}\n\n".format( + self.process.returncode, + self.stderr.read(), ) ) )