-
Notifications
You must be signed in to change notification settings - Fork 135
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
[feature] handle 504 response #503
Conversation
lib/intercom/version.rb
Outdated
@@ -1,3 +1,3 @@ | |||
module Intercom #:nodoc: | |||
VERSION = "3.9.3" | |||
VERSION = "3.10.0" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do you mind if we leave this change and then bump in a separate PR?
Modifying this version here affects the automatic bump command that we use when bundling releases 😄
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of course!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for this again @adsteel this is great. One thing re the version but other than that it looks great.
Default handling for unexpected response bodies ([here](#492)) has revealed an unhandled 504 response from intercom. Example message from UnexpectedResponseError: ``` Intercom::UnexpectedResponseError, Expected a JSON response body. Instead got '<html> <head><title>504 Gateway Time-out</title></head> <body bgcolor="white"> <center><h1>504 Gateway Time-out</h1></center> </body> </html> ' with status code '504'. ```
@jonnyom Removed the version bump. Ready for re-review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great to me, thank you @adsteel
I'll try to get a release out today.
Addresses #502
Default handling for unexpected response bodies (here)
has revealed an unhandled 504 response from intercom.
Example message from UnexpectedResponseError: