diff options
author | 2012-10-30 15:39:15 -0400 | |
---|---|---|
committer | 2012-10-30 15:39:15 -0400 | |
commit | 07cd1b2b40735d460c8225762fcf3992b9886c60 (patch) | |
tree | c08c38417dfd9cba94ac56e212fa9d5864927ac0 /Assistant/NamedThread.hs | |
parent | bab7e83221468905b76e28bb123ebe26e146b97b (diff) |
pushed Assistant monad down into DaemonStatus code
Currently have three old versions of functions that more reworking is
needed to remove: getDaemonStatusOld, modifyDaemonStatusOld_, and
modifyDaemonStatusOld
Diffstat (limited to 'Assistant/NamedThread.hs')
-rw-r--r-- | Assistant/NamedThread.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Assistant/NamedThread.hs b/Assistant/NamedThread.hs index 8871ee6c8..4622f8742 100644 --- a/Assistant/NamedThread.hs +++ b/Assistant/NamedThread.hs @@ -26,5 +26,5 @@ runNamedThread (NamedThread name a) = do let msg = unwords [name, "crashed:", show e] hPutStrLn stderr msg -- TODO click to restart - void $ addAlert (daemonStatusHandle d) $ - warningAlert name msg + flip runAssistant d $ void $ + addAlert $ warningAlert name msg |