Something was wrong with our build output where all our sourcemap info was being flagged as third party, which meant even when we explicitly called Sentry.captureException(), it would mark everything as third_party_code: true (https://github.com/confluentinc/vscode/pull/603).
After doing some digging and enabling Sentry debug mode and viewing logs in the dev tools console, it seemed to be using the wrong paths:
The most minimal fix I could find was ensuring sourcemapBaseUrl was set in our build extOutput, which then properly associated our extension code in Sentry. We're then able to see the unminified code as expected.
Something was wrong with our build output where all our sourcemap info was being flagged as third party, which meant even when we explicitly called
Sentry.captureException()
, it would mark everything asthird_party_code: true
(https://github.com/confluentinc/vscode/pull/603).After doing some digging and enabling Sentry debug mode and viewing logs in the dev tools console, it seemed to be using the wrong paths:
The most minimal fix I could find was ensuring
sourcemapBaseUrl
was set in our buildextOutput
, which then properly associated our extension code in Sentry. We're then able to see the unminified code as expected.