Skip to content

Conversation

@romtsn
Copy link
Member

@romtsn romtsn commented Jan 29, 2026

DiagnosticCoroutineContextException is a Kotlin Coroutines debugging wrapper
that has no stacktrace and no meaningful message. When present in an exception
chain, it should not be used for the issue title. Instead, use the parent
exception which contains the actual error information.

See the linked issue for more examples and context.

Fixes getsentry/sentry-java#4410

@romtsn romtsn requested a review from markushi January 29, 2026 11:11
@romtsn romtsn requested a review from a team as a code owner January 29, 2026 11:11
@romtsn romtsn requested a review from lobsterkatie January 29, 2026 11:11
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jan 29, 2026
Copy link
Contributor

@cursor cursor bot left a comment

Choose a reason for hiding this comment

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

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

break

if main_exception_id:
if main_exception_id is not None:
Copy link
Member Author

Choose a reason for hiding this comment

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

3 participants