summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlassulus <lass@lassul.us>2017-05-02 23:09:29 +0200
committerlassulus <lass@lassul.us>2017-05-02 23:09:29 +0200
commit53da2df0363d0729f24c4dc85fb3eeb2ed8d235e (patch)
tree27a2e50d520588af28a6e619a1c183652782e5c7
parentc3985dce677c52a902f5fec6a11847d945af312c (diff)
log errors to stderr
-rw-r--r--news.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/news.hs b/news.hs
index bfcb5a1..10fd877 100644
--- a/news.hs
+++ b/news.hs
@@ -75,6 +75,6 @@ main = do
threadDelay (delay * 10^6)
rec url delay bloom'
)
- `catch` \e -> putStrLn ("Caught " ++ show (e :: SomeException)) >> rec url delay bloom
+ `catch` \e -> hPutStrLn stderr ("Caught " ++ show (e :: SomeException)) >> rec url delay bloom