You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I receive 404 response the message gets overwritten to Incorrect 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:
dermo666
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
* set name property to StatusError - mikeal#105
* pass on the actual statusMessage from the response instead of 'Incorrect statusCode ...' - mikeal#106
* set name property to StatusError - #105
* pass on the actual statusMessage from the response instead of 'Incorrect statusCode ...' - #106
Co-authored-by: Tomas Dermisek <tomas.dermisek@optus.com.au>
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: