Skip to content

Conversation

bittersweet
Copy link
Contributor

Found this out while reproducing a 500:

(byebug) JSON.parse(last_response.body)
{"code"=>500, "error"=>"Did not find any valid email for customer [snipped]"}

This will help us debug potential 500 errors :)

Found this out while reproducing a 500:

```
(byebug) JSON.parse(last_response.body)
{"code"=>500, "error"=>"Did not find any valid email for customer [snipped]"}
```
Copy link

@iriscoopers iriscoopers left a comment

Choose a reason for hiding this comment

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

👍 🔥

@bittersweet bittersweet merged commit 78adc48 into master Mar 29, 2018
@bittersweet bittersweet deleted the expose_500_error_message branch March 29, 2018 14:54
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.

2 participants