diff options
| author | Joey Hess <joeyh@joeyh.name> | 2017-08-01 13:30:48 -0400 |
|---|---|---|
| committer | Joey Hess <joeyh@joeyh.name> | 2017-08-01 13:30:48 -0400 |
| commit | 63be08678829f5b83c39f2f6a9d44cc920b7892f (patch) | |
| tree | 511333256e8928bc4efd1b994714ce27cac8f101 /src/Propellor/Message.hs | |
| parent | 15f292d177ee96f5a1d384ce50f5246e3f7ea630 (diff) | |
Improve PROPELLOR_TRACE output so serialized trace values always come on their own line, not mixed with title setting.
Diffstat (limited to 'src/Propellor/Message.hs')
| -rw-r--r-- | src/Propellor/Message.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Propellor/Message.hs b/src/Propellor/Message.hs index 51d9babb..0f42e417 100644 --- a/src/Propellor/Message.hs +++ b/src/Propellor/Message.hs @@ -96,9 +96,9 @@ actionMessageOn = actionMessage' . Just actionMessage' :: (MonadIO m, ActionResult r, ToResult r) => Maybe HostName -> Desc -> m r -> m r actionMessage' mhn desc a = do + liftIO $ trace $ ActionStart mhn desc liftIO $ outputConcurrent =<< whenConsole (setTitleCode $ "propellor: " ++ desc) - liftIO $ trace $ ActionStart mhn desc r <- a |
