Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How should 404 errors be handled #27

Open
swilla opened this issue Sep 15, 2021 · 1 comment
Open

How should 404 errors be handled #27

swilla opened this issue Sep 15, 2021 · 1 comment

Comments

@swilla
Copy link

swilla commented Sep 15, 2021

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

@ksassnowski
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants