arcanist icon indicating copy to clipboard operation
arcanist copied to clipboard

How should 404 errors be handled

Open swilla opened this issue 3 years ago • 1 comments

If I go to a non-existent step in a wizard I get a white page. The network tab shows a 404, but the only mark-up in the source of that page is debugbar. I can see the two exceptions being thrown.

image

swilla avatar Sep 15 '21 13:09 swilla

Hey. So the fact that this exception is thrown is actually intentional. What’s supposed to happen is that this exception will get caught by Laravel itself and turned into a regular 404 response. Just like when you try and access a route that doesn’t exist. It’s weird that this doesn't seem to happen for you, though 🤔 I’ll have to take another look at this.

ksassnowski avatar Sep 21 '21 12:09 ksassnowski