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

add type hinting to error boundary #4182

Merged
merged 4 commits into from
Oct 22, 2024
Merged

Conversation

adhami3310
Copy link
Member

No description provided.

"""Handle frontend exceptions.

If a frontend exception handler is provided, it will be called.
Otherwise, the default frontend exception handler will be called.

Args:
stack: The stack trace of the exception.
component_stack: The stack trace of the component where the exception occurred.
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does the component_stack get used for? it's not being passed to the registered exception handler

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

it's not being used here, but it's provided by the react library

@adhami3310 adhami3310 merged commit 4595988 into main Oct 22, 2024
31 checks passed
Kastier1 pushed a commit that referenced this pull request Oct 23, 2024
* add type hinting to error boundary

* remove logFrontendError

* fix other calls to handle_frontend_exception
@masenf masenf deleted the add-type-hinting-to-error-boundary branch December 12, 2024 07:04
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

Successfully merging this pull request may close these issues.

2 participants