diff options
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 |