-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
YAML Config error messages are pretty bad #168
Comments
I won't claim to understand how things work in |
Hm, I'm still getting bad error messages. I did this:
|
Can you try to repro it against just the |
Same problems occurs with non JSON-ed yaml parsing, so |
The error messages you get from a project using the YAML config parser, like a scaffolded yesod project, are pretty bad. There isn't much indication of what caused the problem at all. For example, today I had some config like this:
And I removed 1234 because I didn't want to send Slack messages from my localhost after I was done testing. But that caused this error:
Which doesn't give any indication of what it was trying to parse. I actually thought it was a different field for 10 minutes or so.
Edit: sorry, posted before I was finished writing.
The text was updated successfully, but these errors were encountered: