Skip to content

Commit

Permalink
feat(sut): Make dumblog always print out what port it is running on
Browse files Browse the repository at this point in the history
  • Loading branch information
symbiont-daniel-gustafsson committed Mar 23, 2022
1 parent 3e505c8 commit b34e32e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sut/dumblog/src/Dumblog/Journal/FrontEnd.hs
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,5 @@ runFrontEnd port journal metrics feInfo mReady =
-- putStrLn ("warp, request: " ++ show req)
-- putStrLn ("warp, status: " ++ show status)
-- print =<< Wai.strictRequestBody req)
$ maybe id (\ready -> setBeforeMainLoop (putMVar ready ())) mReady
$ setBeforeMainLoop (putStrLn ("Running on port " ++ show port) >> maybe (pure ()) (\ready -> putMVar ready ()) mReady)
$ defaultSettings

0 comments on commit b34e32e

Please sign in to comment.