arcanist
arcanist copied to clipboard
How should 404 errors be handled
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.
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.