-
-
Notifications
You must be signed in to change notification settings - Fork 29
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
Sentry dart plugin does not detect and send .dart files to Sentry. #283
Comments
thx for the info, with |
Yeah. The expected result screenshot is from version 2.1.0. |
We bumped our default Sentry CLI version from v2.27.0 to v2.38.1 in 2.2.0, could you try setting If not then we'd have to take a look at this pr |
Still doesn't work. |
UPDATE: I changed the build_path to a few folders up and now the .dart files are uploaded and working 😉 |
@lukaszmielczarekdev could you post your updated config? I'd like to understand what's going on (I've made the PR to change what we upload) And also what these configured directories contain (a screenshot of the dir/file structure would be enough) if it's OK |
In 2.1.0 the web_build_path was a full path build/web and now in 2.2.0 is relatively just web making existing configurations invalid. We have changed to use the defaults and still, sentry reports that there is nothing to upload for web builds INFO 2024-11-28 11:39:49.497905769 +00:00 sentry-cli was invoked with the following command line: "/builds/web/flutter/.dart_tool/pub/bin/sentry_dart_plugin/sentry-cli" "--auth-token" "[REDACTED]" "--log-level" "info" "releases" "--org" "xxx" "--project" "flutter" "files" "[email protected]+9132" "upload-sourcemaps" "build/web" "--ext" "map" "--ext" "js" "--dist" "9132" "--wait"
this is the config sentry: |
@lukaszmielczarekdev @ciprig this issue should be fixed by #285 You can verify or use the fix in the meantime by adding a dependency override: sentry_dart_plugin:
git:
url: https://github.com/getsentry/sentry-dart-plugin.git
ref: efa59dda844c34c6399bc09ae9fa27f0fd9daa27 |
official fix is released in |
I'm still running into this issue. My setup: dev_dependencies:
sentry_dart_plugin: ^2.2.1
# Sentry Dart Plugin
sentry:
upload_debug_symbols: true
upload_source_maps: false
upload_sources: false
project: flutter-tips-app
org: andrea-bizzotto
wait_for_processing: true
log_level: error # possible values: trace, debug, info, warn, error
commits: auto
ignore_missing: true
symbols_path: build Run commands:
Report:
Any ideas what could be wrong? |
cc @denrase could you have a look here pls |
@bizz84 hey andrea, I've looked at your project and it looks fine as far as I can see, also the dart files have been uploaded, can you send me a link to a sample where the source context is not shown? [email protected] |
I have same issue |
@otopba which plugin version are you using? |
sentry_dart_plugin: ^2.4.0 |
@otopba could you create another issue please with steps to reproduce, and the platforms it affects etc.. |
Environment
Sentry dart plugin v.2.2.0
Steps to Reproduce
The problem I have is that it doesn't send .dart files to Sentry, it only sends one package with .js files (10 pieces). There should be a second portion, much larger with .dart files. The logs say that it found 10 files first, then 0. In the previous version of the package, all files were sent, and in the latest one only one part.
Expected Result
Actual Result
The text was updated successfully, but these errors were encountered: