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

fix: re-throw errors in delegated event listeners #2382

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

Giovanni-Tably
Copy link
Contributor

Hi there,

This just re-throws errors that happen in delegated event listeners, it prevents confusion from a panic not showing up anywhere (besides the control flow being interrupted).

Copy link
Collaborator

@gbj gbj left a comment

Choose a reason for hiding this comment

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

Thanks, this makes sense and is a good change: see style note above.

leptos_dom/src/events.rs Outdated Show resolved Hide resolved
@gbj gbj merged commit 943a992 into leptos-rs:main Mar 7, 2024
44 of 60 checks passed
@Giovanni-Tably Giovanni-Tably deleted the delegated-fix branch March 8, 2024 11:34
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