Skip to content

Conversation

bittersweet
Copy link
Contributor

I've also cleaned up the use of last_response versus @last_response.

The list of errors is growing, now to add one you have to make a class, a constant, and add it to the case statement. Not sure how to improve that as some of them do have some custom logic for some statuses.

If we have a custom status for 503, it's easier to ignore that specific error in our error logging if wanted.

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.

LGTM

I've also cleaned up the use of `last_response` versus `@last_response`.
@bittersweet
Copy link
Contributor Author

Thanks for checking 👍 I've Rebased because of #14 , merging!

@bittersweet bittersweet merged commit 2447f18 into master Mar 29, 2018
@bittersweet bittersweet deleted the add_503_status branch March 29, 2018 14:59
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