Permalink
Browse files

Merge pull request #133 from Vlix/patch-1

Removed AppSettings in error (Data/Yaml/Config.hs)
  • Loading branch information...
snoyberg committed May 4, 2018
2 parents 7208beb + 8d6c047 commit b981f3d5fbd41105c50aa64c38702905591bae5f
Showing with 6 additions and 2 deletions.
  1. +4 −0 ChangeLog.md
  2. +1 −1 Data/Yaml/Config.hs
  3. +1 −1 yaml.cabal
View
@@ -1,3 +1,7 @@
+## 0.8.30
+
+* Removed `AppSettings` mentioned in `loadYamlSettings` error message.
+
## 0.8.29
* Deprecated `decodeFile` [#129](https://github.com/snoyberg/yaml/issues/129)
View
@@ -195,7 +195,7 @@ loadYamlSettings runTimeFiles compileValues envUsage = do
RequireCustomEnv env -> return $ applyEnvValue True env value'
case fromJSON value of
- Error s -> error $ "Could not convert to AppSettings: " ++ s
+ Error s -> error $ "Could not convert to expected type: " ++ s
Success settings -> return settings
-- | Same as @loadYamlSettings@, but get the list of runtime config files from
View
@@ -1,5 +1,5 @@
name: yaml
-version: 0.8.29
+version: 0.8.30
license: BSD3
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>, Anton Ageev <antage@gmail.com>,Kirill Simonov

0 comments on commit b981f3d

Please sign in to comment.