-
-
Notifications
You must be signed in to change notification settings - Fork 32
Closed
Labels
Description
I have the following github action that builds the web app, creates a new sentry release (with sourcemap uploads) and builds & pushes a docker container to the ghcr. When inspecting a stack trace within sentry it either doesnt show any source code whatsoever or it shows the minified js source code (see images below)
The compilation setep
- name: ⚒️ Build web app
run: |
base_href=${{ env.BASE_HREF }}
# if base href is empty, set it to /
if [ -z "$base_href" ]; then
base_href="/"
fi
flutter build web --dart-define-from-file=.env --no-tree-shake-icons --source-maps --base-href=$base_hrefThe sentry step
- name: Sentry Release
if: env.SENTRY_DSN != ''
env:
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
SENTRY_ORG: ${{ vars.SENTRY_ORG }}
SENTRY_PROJECT: ${{ vars.SENTRY_PROJECT }}
SENTRY_URL: ${{ vars.SENTRY_URL }}
SENTRY_NO_PROGRESS_BAR: 1
SENTRY_RELEASE: ${{ steps.setup.outputs.ver }}
run: flutter pub run sentry_dart_plugin --sentry-define=legacy_web_symbolication=true upload_source_maps=true upload_sources=true --sentry-define=url_prefix=${{ env.FQN }}Sentry config in pubspec.yaml
sentry:
upload_debug_symbols: true
upload_source_maps: true
upload_sources: trueUploaded source maps
Please help me i am going insane