From 49f3b092be744c76ea9d2ed7c101286ab1e24b2d Mon Sep 17 00:00:00 2001 From: Dennis Frieberg Date: Fri, 2 Apr 2021 18:32:16 +0200 Subject: [PATCH] a bit better improvised logging, but logging is still todo --- app/Config.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Config.hs b/app/Config.hs index 34148f9..16923a4 100644 --- a/app/Config.hs +++ b/app/Config.hs @@ -36,7 +36,7 @@ withConfigs :: (a -> IO (MVar ())) -> TomlCodec [a] -> FilePath -> IO [MVar ()] withConfigs f codec configFile = do parseResult <- Toml.decodeFileEither codec configFile either - (error "Logging not implemented") + (error . show) (mapM f) parseResult