Skip to content
This repository was archived by the owner on May 21, 2025. It is now read-only.

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants