Skip to content

Sentry doesn't connect artifact source maps with sourceMappingURL #6608

@AndrzejSala

Description

@AndrzejSala

Is there an existing issue for this?

How do you use Sentry?

Sentry Saas (sentry.io)

Which package are you using?

@sentry/react

SDK Version

7.25.0

Framework Version

7.25.0

Link to Sentry event

https://sentry.io/organizations/brainly/issues/3829774520/?project=5306791&referrer=release-issue-stream

Steps to Reproduce

  1. Configure Webpack to generate and send source maps based on this documentation https://docs.sentry.io/platforms/javascript/sourcemaps/uploading/webpack/
  2. Create a new release and send source maps to Sentry (both Sentry.init() and Sentry Webpack plugin use the same release value)
  3. Wait for a new issue
  4. The issue stack trace doesn't utilize source maps
    Screenshot 2022-12-22 at 14 41 24
    Screenshot 2022-12-22 at 14 42 22
    Screenshot 2022-12-22 at 14 42 57

Expected Result

The source maps sent as the release artifact are correctly interpreted and connected with issues.

Actual Result

Sentry cannot connect the issue and sourceMappingURL with artifact source maps.
Instead of that, the Sentry is trying to fetch source maps which causes the error:
There was 1 problem processing this event (Remote file too large for caching)

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions