Skip to content
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

Use InternalServerError (500) instead of GatewayTimeoutError (504). #29

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snabb
Copy link
Contributor

@snabb snabb commented Feb 7, 2019

Gateway Timeout Error is not really correct error status code.
It is returned in cases when the request or response conversion fails.
Thus Internal Server Error feels more appropriate.

Issue #, if available: n/a

Description of changes: see above

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Gateway Timeout Error is not really correct error status code.
It is returned in cases when the request or response conversion fails.
Thus Internal Server Error feels more appropriate.
@sapessi
Copy link
Collaborator

sapessi commented May 6, 2019

Perhaps we should make this configurable. This could be a breaking change if customers have set up monitoring solutions expecting this status code.

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