-
Notifications
You must be signed in to change notification settings - Fork 106
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
404 response message gets wrapped to 'Incorrect statusCode: ${res.statusCode}' #106
Comments
SuperDermo
changed the title
404 response message get wrapped to 'Incorrect statusCode: ${res.statusCode}'
404 response message gets wrapped to 'Incorrect statusCode: ${res.statusCode}'
May 19, 2020
would take a PR for |
SuperDermo
pushed a commit
to SuperDermo/bent
that referenced
this issue
May 28, 2020
* set name property to StatusError - mikeal#105 * pass on the actual statusMessage from the response instead of 'Incorrect statusCode ...' - mikeal#106
Merged
mikeal
pushed a commit
that referenced
this issue
Jun 26, 2020
* set name property to StatusError - #105 * pass on the actual statusMessage from the response instead of 'Incorrect statusCode ...' - #106 Co-authored-by: Tomas Dermisek <[email protected]>
webcomick3
added a commit
to webcomick3/bent
that referenced
this issue
Jul 5, 2024
* set name property to StatusError - mikeal/bent#105 * pass on the actual statusMessage from the response instead of 'Incorrect statusCode ...' - mikeal/bent#106 Co-authored-by: Tomas Dermisek <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When I receive
404
response the message gets overwritten toIncorrect statusCode: ${res.statusCode}
instead of passing the original message.
Could you pass the original message? Why the
Incorrect statusCode:
wrapping?It could be fixed by
this.message = res.statusMessage
The text was updated successfully, but these errors were encountered: