a bit better improvised logging, but logging is still todo
This commit is contained in:
parent
727b24e705
commit
49f3b092be
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue