We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25825b0 commit 28af3f0Copy full SHA for 28af3f0
cardano-testnet/src/Testnet/Runtime.hs
@@ -297,8 +297,8 @@ startLedgerNewEpochStateLogging testnetRuntime tmpWorkspace = withFrozenCallStac
297
298
liftIOAnnotated $ IO.doesDirectoryExist logDir >>= \case
299
True -> pure ()
300
- False -> do
301
- throwString $ "Log directory does not exist: " <> logDir <> " - cannot start logging epoch states"
+ False ->
+ void $ createDirectoryIfMissingNew logDir
302
303
liftIOAnnotated (IO.doesFileExist logFile) >>= \case
304
True -> return ()
0 commit comments