Skip to content

Commit 86c708d

Browse files
Russoulmgmeier
authored andcommitted
Add debug logs to TxSubmit to figure out what the config is
1 parent 57e39d7 commit 86c708d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cardano-submit-api/src/Cardano/TxSubmit.hs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,9 @@ defaultTraceConfig =
4343

4444
runTxSubmitWebapi :: TxSubmitNodeParams -> IO ()
4545
runTxSubmitWebapi tsnp = do
46+
putStrLn $ "Path to config:\n" <> unConfigFile tspConfigFile
47+
jsonFile <- readFile (unConfigFile tspConfigFile)
48+
putStrLn $ "The json file contents:\n" <> jsonFile
4649
tracingConfig <- readConfigurationWithDefault (unConfigFile tspConfigFile) defaultTraceConfig
4750
(trce, registrySample) <- mkTraceDispatcher tracingConfig
4851
Async.withAsync

0 commit comments

Comments
 (0)