mirror of
https://github.com/0glabs/0g-storage-node.git
synced 2025-04-04 15:35:18 +00:00
add stdout if blockchain launch failed
This commit is contained in:
parent
ccf4606cf9
commit
024706436b
@ -130,9 +130,10 @@ class TestNode:
|
|||||||
if self.process.poll() is not None:
|
if self.process.poll() is not None:
|
||||||
raise FailedToStartError(
|
raise FailedToStartError(
|
||||||
self._node_msg(
|
self._node_msg(
|
||||||
"exited with status {} during initialization \n\n{}\n\n".format(
|
"exited with status {} during initialization \n\nstderr: {}\n\nstdout: {}\n\n".format(
|
||||||
self.process.returncode,
|
self.process.returncode,
|
||||||
self.stderr.read(),
|
self.stderr.read(),
|
||||||
|
self.stdout.read(),
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user