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

Report the current fiber in Exception in thread "zio-fiber-X" instead of the interruptor fiber #8687

Merged
merged 1 commit into from Mar 11, 2024

Conversation

neko-kai
Copy link
Member

Currently the Interrupted Cause only contains the interruptor fiber, not the interrupted fiber, so when 1 interrupts 2, it's reported as:

Exception in thread "zio-fiber-1" java.lang.InterruptedException: Interrupted by thread "zio-fiber-1"

Should be:

Exception in thread "zio-fiber-2" java.lang.InterruptedException: Interrupted by thread "zio-fiber-1"

@jdegoes jdegoes merged commit 4322d2b into zio:series/2.x Mar 11, 2024
19 of 20 checks passed
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