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
Uncaught Error #1513
Comments
check this issue, maybe it's the same... |
I'm on |
The issue is present in |
A couple of questions:
It's important to remember that this is client-sided, so there's no chance of SECRETS being revealed. Also, you'll only ever get here when there has been an error and the We'd need a valid reason to change this behaviour since some users have hooks that use the output of the console and that this isn't a show-stopping problem or a bug. Its currently, the intended behaviour. |
My question is why I'm getting an 'Uncaught Error' in my console. Is this something I should take care of, and how precisely should I handle this? Thanks. |
@andelkocvjetkovic this isn't something that requires intervention from you. No further error handling is required on your-part. Very simply, the Error is printed out to the console since the application has encountered an error (intentional or not). You can choose to customize how you display the Error to the user using the |
Describe the bug
When an error is thrown within the loader, "Uncaught Error" appears in my browser console, even though the error page is shown.
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-zz3epc?file=src%2Fposts.tsx
Steps to Reproduce the Bug or Issue
Expected behavior
I expect to the error within loader to be caught and clean console in my browser
Screenshots or Videos
Platform
Additional context
No response
The text was updated successfully, but these errors were encountered: