@sentry/bundler-plugin-core 2.6.0 → 2.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.
@@ -829,6 +829,9 @@ function createDebugIdUploadFunction(_ref) {
829
829
  return Promise.all(filePathsToDelete.map(function (filePathToDelete) {
830
830
  return fs__default.promises.rm(filePathToDelete, {
831
831
  force: true
832
+ })["catch"](function (e) {
833
+ // This is allowed to fail - we just don't do anything
834
+ logger.debug("An error occured while attempting to delete asset: ".concat(filePathToDelete), e);
832
835
  });
833
836
  }));
834
837
  case 53:
@@ -1266,7 +1269,7 @@ function createSentryInstance(options, shouldSendTelemetry, bundler) {
1266
1269
  dsn: "https://4c2bae7d9fbc413e8f7385f55c515d51@o1.ingest.sentry.io/6690737",
1267
1270
  tracesSampleRate: 1,
1268
1271
  sampleRate: 1,
1269
- release: "2.6.0",
1272
+ release: "2.6.1",
1270
1273
  integrations: [],
1271
1274
  tracePropagationTargets: ["sentry.io/api"],
1272
1275
  stackParser: defaultStackParser,
@@ -1336,6 +1339,8 @@ function setTelemetryDataOnHub(options, hub, bundler) {
1336
1339
  if (release.uploadLegacySourcemaps) {
1337
1340
  hub.setTag("uploadLegacySourcemapsEntries", Array.isArray(release.uploadLegacySourcemaps) ? release.uploadLegacySourcemaps.length : 1);
1338
1341
  }
1342
+ hub.setTag("module-metadata", !!options._experiments.moduleMetadata);
1343
+ hub.setTag("inject-build-information", !!options._experiments.injectBuildInformation);
1339
1344
 
1340
1345
  // Optional release pipeline steps
1341
1346
  hub.setTag("clean-artifacts", release.cleanArtifacts);
@@ -1496,7 +1501,7 @@ function sentryUnpluginFactory(_ref) {
1496
1501
  });
1497
1502
 
1498
1503
  // Set the User-Agent that Sentry CLI will use when interacting with Sentry
1499
- process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.6.0");
1504
+ process.env["SENTRY_PIPELINE"] = "".concat(unpluginMetaContext.framework, "-plugin/", "2.6.1");
1500
1505
  function handleRecoverableError(unknownError) {
1501
1506
  sentrySession.status = "abnormal";
1502
1507
  try {