hoppscotch / hoppscotch-extension

🧩 Browser extensions to provide more capabilities to https://hoppscotch.io
https://hoppscotch.io
MIT License
254 stars 95 forks source link

Extension doesn't return request when response code is >= 400 #226

Closed ninjoma closed 1 year ago

ninjoma commented 1 year ago

When the extension receives a response from the server with a status code of 400 or higher, Axios throws an error. This error halts the execution of the code before the response can be sent to the frontend. As a result, the request is made, but the response is not displayed on the website.

Example: