@sentry/bundler-plugin-core 3.6.0 → 3.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/cjs/index.js CHANGED
@@ -8195,7 +8195,7 @@ function createSentryInstance(options, shouldSendTelemetry, buildTool) {
8195
8195
  dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
8196
8196
  tracesSampleRate: 1,
8197
8197
  sampleRate: 1,
8198
- release: "3.6.0",
8198
+ release: "3.6.1",
8199
8199
  integrations: [],
8200
8200
  tracePropagationTargets: ["sentry.io/api"],
8201
8201
  stackParser: stackParser,
@@ -8771,7 +8771,7 @@ function createSentryBuildPluginManager(userOptions, bundlerPluginMetaContext) {
8771
8771
  });
8772
8772
 
8773
8773
  // Set the User-Agent that Sentry CLI will use when interacting with Sentry
8774
- process.env["SENTRY_PIPELINE"] = "".concat(bundlerPluginMetaContext.buildTool, "-plugin/", "3.6.0");
8774
+ process.env["SENTRY_PIPELINE"] = "".concat(bundlerPluginMetaContext.buildTool, "-plugin/", "3.6.1");
8775
8775
 
8776
8776
  // Not a bulletproof check but should be good enough to at least sometimes determine
8777
8777
  // if the plugin is called in dev/watch mode or for a prod build. The important part
@@ -9051,7 +9051,10 @@ function createSentryBuildPluginManager(userOptions, bundlerPluginMetaContext) {
9051
9051
  _context6.next = 33;
9052
9052
  return cliInstance.releases.uploadSourceMaps(options.release.name, {
9053
9053
  include: normalizedInclude,
9054
- dist: options.release.dist
9054
+ dist: options.release.dist,
9055
+ // We want this promise to throw if the sourcemaps fail to upload so that we know about it.
9056
+ // see: https://github.com/getsentry/sentry-cli/pull/2605
9057
+ live: "rejectOnError"
9055
9058
  });
9056
9059
  case 33:
9057
9060
  if (!(options.release.setCommits !== false)) {
@@ -9339,7 +9342,10 @@ function createSentryBuildPluginManager(userOptions, bundlerPluginMetaContext) {
9339
9342
  paths: [tmpUploadFolder],
9340
9343
  rewrite: false,
9341
9344
  dist: options.release.dist
9342
- }]
9345
+ }],
9346
+ // We want this promise to throw if the sourcemaps fail to upload so that we know about it.
9347
+ // see: https://github.com/getsentry/sentry-cli/pull/2605
9348
+ live: "rejectOnError"
9343
9349
  });
9344
9350
  case 3:
9345
9351
  case "end":