Skip to content

Wrong Stacktrace #2179

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

Closed
escamoteur opened this issue Jul 17, 2024 · 5 comments
Closed

Wrong Stacktrace #2179

escamoteur opened this issue Jul 17, 2024 · 5 comments

Comments

@escamoteur
Copy link

Environment

SaaS (https://sentry.io/)

Steps to Reproduce

I encounter this type of stacktraces in out flutter app in the last time more often:

Expected Result

better stack trace

Actual Result

CommandError<ComposerData<dynamic>>: ApiException 401: {"message":"Unauthenticated."} - for param: TextComposerData
  File "stacktrace_utils.dart", line 10, in getCurrentStackTrace
  File "sentry_exception_factory.dart", line 45, in SentryExceptionFactory.getSentryException
  File "sentry_client.dart", line 201, in SentryClient._prepareEvent
  File "sentry_client.dart", line 95, in SentryClient.captureEvent
  File "hub.dart", line 173, in Hub.captureException

the only line with value is the top one, no idea why is lists parts of the Sentry plugin code here

Product Area

Issues - Source Maps

Link

No response

DSN

No response

Version

No response

@getsantry
Copy link

getsantry bot commented Jul 17, 2024

Auto-routing to @getsentry/product-owners-issues for triage ⏲️

@getsantry
Copy link

getsantry bot commented Jul 17, 2024

Routing to @getsentry/product-owners-sdks-web-backend for triage ⏲️

@bruno-garcia
Copy link
Member

@escamoteur thanks for raising this. Do you have attachStacktrace set to true?
Also, what SDK version are you on?

@bruno-garcia bruno-garcia transferred this issue from getsentry/sentry Jul 17, 2024
@github-project-automation github-project-automation bot moved this to Needs Discussion in [DEPRECATED] Mobile SDKs Jul 17, 2024
@getsantry getsantry bot moved this to Waiting for: Product Owner in GitHub Issues with 👀 3 Jul 17, 2024
@kahest
Copy link
Member

kahest commented Jul 18, 2024

This is most likely a duplicate of #2146. cc @buenaflor

@buenaflor
Copy link
Contributor

This is fixed by #2152

@buenaflor buenaflor closed this as not planned Won't fix, can't repro, duplicate, stale Jul 18, 2024
@github-project-automation github-project-automation bot moved this from Needs Discussion to Done in [DEPRECATED] Mobile SDKs Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Archived in project
Development

No branches or pull requests

4 participants