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

SDK crash detection events are not actionable #2148

Closed
buenaflor opened this issue Jul 8, 2024 · 2 comments
Closed

SDK crash detection events are not actionable #2148

buenaflor opened this issue Jul 8, 2024 · 2 comments

Comments

@buenaflor
Copy link
Contributor

buenaflor commented Jul 8, 2024

Description

When receiving crash reports which should indicate an issue within the Sentry SDK, we currently cannot really determine what is wrong since the stacktrace for example is very vague and doesn't tell the whole context.

image

Reason

When an error happens and the stacktrace we get is either empty or null we call StackTrace.current to grab it but it is truncated because
the async nature of the error handling in the integration might be creating a new execution context, losing the original stack.

@buenaflor
Copy link
Contributor Author

Fixed by #2152

@hao1208hao
Copy link

stacktrace_utils.dart 位置 getCurrentStackTrace 行 10 在 sentry
sentry_client.dart 位置 SentryClient._prepareEvent 行 270 在 sentry
sentry_client.dart 位置 SentryClient.captureEvent 行 117 在 sentry
sentry_client.dart 位置 SentryClient.captureMessage 行 335 在 sentry
hub.dart 位置 Hub.captureMessage 行 226 在 sentry

sentry version 8.7.0

Image

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

No branches or pull requests

2 participants