Skip to content

Better error provenance for stuff invoking withResponse'#1191

Merged
snoyberg merged 4 commits intoyesodweb:masterfrom
bitemyapp:master
Mar 21, 2016
Merged

Better error provenance for stuff invoking withResponse'#1191
snoyberg merged 4 commits intoyesodweb:masterfrom
bitemyapp:master

Conversation

@bitemyapp
Copy link
Copy Markdown
Contributor

I tried to take a light touch, mostly mucking with the prime variants of functions.

Here's how it looks:

screenshot from 2016-03-17 14-35-08

This is intended to resolve #1185

@codygman
Copy link
Copy Markdown

👍 Seems like an improvement to me.

@bitemyapp
Copy link
Copy Markdown
Contributor Author

The test failure seems spurious, could be wrong.

@@ -1,5 +1,5 @@
name: yesod-test
version: 1.5.0.1
version: 1.6.0.0
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the reason for the major version bump? It looks like this only changes internal functions.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh so it does. I'd managed that on accident, thinking I'd changed the type signature of something that was exported. Nuts. I'll fix it, sorry!

snoyberg added a commit that referenced this pull request Mar 21, 2016
Better error provenance for stuff invoking withResponse'
@snoyberg snoyberg merged commit 5cf7694 into yesodweb:master Mar 21, 2016
@snoyberg
Copy link
Copy Markdown
Member

Thanks Chris!

snoyberg added a commit that referenced this pull request Mar 21, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Yesod Tests addToken could use a nicer error

3 participants