chore: remove unplanned TODO in Logger.hs

We decided against doing this in #4913, therefore removing it. With that,
also mentioning that control flow never reaches there to avoid confusion.

Signed-off-by: Taimoor Zaeem <taimoorzaeem@gmail.com>
This commit is contained in:
Taimoor Zaeem
2026-05-18 16:23:08 +00:00
committed by Wolfgang Walther
parent 9d67febb93
commit e6d8d95c0a
+1 -1
View File
@@ -234,7 +234,7 @@ observationMessages = \case
WarpServerObs txt ->
pure $ "Warp server: " <> txt
ResponseObs {} ->
mempty -- TODO this message is produced on observationLogger since it depends on Logger state. Merge observationMessages with observationLogger to clear this.
mempty -- Control flow never reaches here, the observation message is returned in observationLogger function
where
showMillis :: Double -> Text
showMillis x = toS $ showFFloat (Just 1) x ""