From 53da2df0363d0729f24c4dc85fb3eeb2ed8d235e Mon Sep 17 00:00:00 2001 From: lassulus Date: Tue, 2 May 2017 23:09:29 +0200 Subject: log errors to stderr --- news.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3