Skip to content

Conversation

@dylantmarsh
Copy link

If error.code is undefined, this can result in a RangeError where the HTTP status code is invalid. This will cause the application to crash, swallowing the actual error.

If `error.code` is undefined this can result in a RangeError where the HTTP status code is invalid. This will cause the application to crash swallowing the actual error.
Fixed possible invalid status code range error
@dylantmarsh
Copy link
Author

I am open to a more appropriate status code for this to default to.

@jankapunkt jankapunkt merged commit f5bf49b into node-oauth:master Aug 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants