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 panics from task::spawn in tests. #1015

Merged
merged 1 commit into from
Jan 2, 2024

Conversation

nihohit
Copy link
Contributor

@nihohit nihohit commented Dec 27, 2023

ATM Tokio's runtimes hide panics from spawned tasks, and continue running. This PR ensures that we'll be catch panics even if they're thrown in spawned tasks.

ATM Tokio's runtimes hide panics from spawned tasks, and continue
running. This PR ensures that we'll be catch panics even if they're
thrown in spawned tasks.
@nihohit nihohit merged commit f605a89 into redis-rs:main Jan 2, 2024
10 checks passed
@nihohit nihohit deleted the spawn-panics-upstream branch January 2, 2024 06:44
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.

None yet

2 participants