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

Catch errors #169

Open
anubra266 opened this issue Dec 25, 2023 · 1 comment
Open

Catch errors #169

anubra266 opened this issue Dec 25, 2023 · 1 comment

Comments

@anubra266
Copy link

Errors for preview can be shown in LiveError component. But errors are also thrown to console. Is there any way to prevent this. I'm trying to not show the errors in the console.

@agarwalshashank95
Copy link

One way, although hacky would be to overwrite / monkey patch the console.log function in the dynamic code you are rendering. This would make sure that any console logs from your dynamic code is not reflecting in your browser's dev-tools.

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