-
-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
fix(nuxt): log errors thrown when booting the nuxt app #19187
Conversation
Β Open in CodeSandbox Web Editor | VS Code | VS Code Insiders |
Nice find. Since we don't suppress other errors from console by default why not also doing for production? |
We do suppress errors in other places (in that we require users to handle them), specifically when it comes to universal router errors and in useAsyncData/useFetch. But in this case I am very persuadable. |
Hello, I've just installed the new 3.2.3 version of Nuxt and now this happens when a page is not found.
Is this behavior what you wanted? π§ How can I suppress these errors or catch them? Thank you |
I also spotted same issue. I guess we might apply a filter to hide internal type of errors (i guess we added a field for it /cc @danielroe ) |
π Linked issue
resolves #19162
β Type of change
π Description
This ensures we don't swallow plugin errors, in development mode at least. We could also consider adding a warning if user doesn't register their own handler?
π Checklist