Update configurator-pg to 0.2.0 (better error messages) (#1457)

* Don't indent first line of configuration parser error messages

configurator-pg returns multi-line errors now. Alternatively,
we could indent all the lines.
This commit is contained in:
Robert
2020-03-12 10:04:44 -05:00
committed by GitHub
parent dea57bd1be
commit 5b5945e427
4 changed files with 7 additions and 7 deletions
+1 -1
View File
@@ -140,7 +140,7 @@ readOptions = do
-- Now read the actual config file
conf <- catches (C.load cfgPath)
[ Handler (\(ex :: IOError) -> exitErr $ "Cannot open config file:\n\t" <> show ex)
, Handler (\(C.ParseError err) -> exitErr $ "Error parsing config file:\n\t" <> err)
, Handler (\(C.ParseError err) -> exitErr $ "Error parsing config file:\n" <> err)
]
case C.runParser parseConfig conf of