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

Ignore Flutter Web source context error in Sentry Frontend for internal dart files #2450

Closed
buenaflor opened this issue Nov 26, 2024 · 2 comments · Fixed by getsentry/sentry#83823

Comments

@buenaflor
Copy link
Contributor

buenaflor commented Nov 26, 2024

Description

frontend shows misleading error: missing source content for internal dart files

this is not useful and should be ignored, especially since the user application code source context is working

ignore:

  • org-dartlang-sdk:///dart-sdk/lib/async/future_impl.dart
  • org-dartlang-sdk:///dart-sdk/lib/async/zone.dart

Image
Image

ideally this is fixed in the backend but this temporary fix will do for now

@buenaflor buenaflor moved this from Needs Discussion to Backlog in Mobile & Cross Platform SDK Nov 26, 2024
@buenaflor buenaflor changed the title Ignore source context error in Sentry Frontend for internal dart files Ignore Flutter Web source context error in Sentry Frontend for internal dart files Nov 26, 2024
@vaind
Copy link
Collaborator

vaind commented Nov 28, 2024

Should we move this to the UI repo?

@buenaflor
Copy link
Contributor Author

no need, I'll make a quick fix, I already did this in the frontend a couple months back for other files with the same misleading error

@buenaflor buenaflor moved this from Backlog to Needs Review in Mobile & Cross Platform SDK Jan 22, 2025
buenaflor added a commit to getsentry/sentry that referenced this issue Jan 23, 2025
Closes getsentry/sentry-dart#2450

Users often get source context errors regarding internal framework files
but those aren't really relevant and are not actionable

---------

Co-authored-by: getsantry[bot] <66042841+getsantry[bot]@users.noreply.github.com>
@github-project-automation github-project-automation bot moved this from Needs Review to Done in Mobile & Cross Platform SDK Jan 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants