Removed AppSettings in error (Data/Yaml/Config.hs)
`loadYamlSettings` isn't only used for AppSettings, so having that in the error message can be confusing.
commit74617c4fa63b83ab58c44c45cf087d263cb3eff5
authorFelix Paulusma <Vlix@users.noreply.github.com>
dateWed 2 May 2018, 15:41 (8 years ago)
parent7208beb
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 to AppSettings: " ++ s
198+ Error s -> error $ "Could not convert: " ++ s
199199 Success settings -> return settings
200200
201201-- | Same as @loadYamlSettings@, but get the list of runtime config files from