File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -277,7 +277,6 @@ withCardanoNode ::
277
277
IO a
278
278
withCardanoNode tr stateDirectory args@ CardanoNodeArgs {nodeSocket} networkId action = do
279
279
traceWith tr $ MsgNodeCmdSpec (show $ cmdspec process)
280
- traceWith tr $ MsgNodeStarting {stateDirectory}
281
280
withLogFile logFilePath $ \ out -> do
282
281
hSetBuffering out NoBuffering
283
282
withCreateProcess process{std_out = UseHandle out, std_err = UseHandle out} $
@@ -299,12 +298,13 @@ withCardanoNode tr stateDirectory args@CardanoNodeArgs{nodeSocket} networkId act
299
298
300
299
waitForNode = do
301
300
let nodeSocketPath = File socketPath
301
+ traceWith tr $ MsgNodeStarting {stateDirectory}
302
302
waitForSocket nodeSocketPath
303
+ traceWith tr $ MsgSocketIsReady $ unFile nodeSocketPath
303
304
-- we wait for synchronization since otherwise we will receive a query
304
305
-- exception when trying to obtain pparams and the era is not the one we
305
306
-- expect.
306
307
_ <- waitForFullySynchronized tr networkId nodeSocketPath
307
- traceWith tr $ MsgSocketIsReady $ unFile nodeSocketPath
308
308
action nodeSocketPath
309
309
310
310
cleanupSocketFile =
You can’t perform that action at this time.
0 commit comments