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

Error handling with a callback to get a stacktrace #165

Open
astahmer opened this issue Jun 30, 2023 · 0 comments
Open

Error handling with a callback to get a stacktrace #165

astahmer opened this issue Jun 30, 2023 · 0 comments

Comments

@astahmer
Copy link

Hey, great lib !

Using the components, I'd like to have a callback to log the error so that it doesn't get completely swallowed. It would help to debug some situations, especially if there was a stack trace.

From a quick glance at the code base, it could be done somewhere in there:

onRendered: (error) => {
if (error) {

what do you think ?

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

1 participant