Update Config.hs
Small tweak to `loadYamlSettings` error message.
commitaecd62e3f5570d39776172565b5d77723fcf3c55
authorFelix Paulusma <Vlix@users.noreply.github.com>
dateThu 3 May 2018, 18:56 (8 years ago)
parent74617c4
Data/Yaml/Config.hs+1−1
@@ -195,7 +195,7 @@ loadYamlSettings runTimeFiles compileValues envUsage = do
195195 RequireCustomEnv env -> return $ applyEnvValue True env value'
196196
197197 case fromJSON value of
198− Error s -> error $ "Could not convert: " ++ s
198+ Error s -> error $ "Could not convert to expected type: " ++ s
199199 Success settings -> return settings
200200
201201-- | Same as @loadYamlSettings@, but get the list of runtime config files from