Skip to content

Conversation

@jonball4
Copy link
Contributor

@jonball4 jonball4 commented Aug 4, 2023

In the event of an error in handleRequest,
only set the status code on the request if it hasn't already been set.

Overriding the status code in the event of an error results in incorrect reporting of the error status code using plugins such as prom-bundle to generate metrics.

@jonball4 jonball4 requested a review from a team as a code owner August 4, 2023 17:26
In the event of an error in handleRequest,
only set the status code on the request if it hasn't already been set.

Overriding the status code in the event of an error results in
incorrect reporting of the error status code using plugins such
as prom-bundle to generate metrics.
@jonball4 jonball4 force-pushed the dont-override-statuscode branch from ea840e2 to 363e6a6 Compare August 4, 2023 17:29
@jonball4 jonball4 merged commit b28084e into BitGo:master Aug 4, 2023
@jonball4 jonball4 deleted the dont-override-statuscode branch August 4, 2023 17:34
@github-actions
Copy link

github-actions bot commented Aug 4, 2023

🎉 This PR is included in version @api-ts/express-wrapper@1.0.20 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version @api-ts/openapi-generator@2.0.0 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version @api-ts/typed-express-router@1.1.1 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@github-actions
Copy link

🎉 This PR is included in version @api-ts/superagent-wrapper@1.1.12 🎉

The release is available on npm package (@latest dist-tag)

Your semantic-release bot 📦🚀

@github-actions
Copy link

github-actions bot commented Oct 4, 2023

🎉 This PR is included in version @api-ts/io-ts-http@2.4.1-beta.1 🎉

The release is available on @api-ts/io-ts-http

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants