Javascript – Troubleshooting: Why Doesn't My Function Enter the Try/Catch Block?
While working with Vuex, I encountered an issue in a particular section where I'm making a GET request to my API. Despite knowing that the response should be a 404 error, my code doesn't seem to enter the try-catch block…