Skip to content

Commit c5ce9ba

Browse files
committed
more warnings
1 parent 01c9816 commit c5ce9ba

File tree

1 file changed

+4
-2
lines changed
  • packages/bundler-plugin-core/src

1 file changed

+4
-2
lines changed

packages/bundler-plugin-core/src/index.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -391,11 +391,13 @@ export function sentryUnpluginFactory({
391391
);
392392
} else if (!options.org && !options.authToken.startsWith("sntrys_")) {
393393
logger.warn(
394-
"No org provided. Will not upload source maps. Please set the `org` option to your Sentry organization slug."
394+
"No org provided. Will not upload source maps. Please set the `org` option to your Sentry organization slug." +
395+
getTruboRepoEnvPassthroughWarning("SENTRY_ORG")
395396
);
396397
} else if (!options.project) {
397398
logger.warn(
398-
"No project provided. Will not upload source maps. Please set the `project` option to your Sentry project slug."
399+
"No project provided. Will not upload source maps. Please set the `project` option to your Sentry project slug." +
400+
getTruboRepoEnvPassthroughWarning("SENTRY_PROJECT")
399401
);
400402
} else {
401403
// This option is only strongly typed for the webpack plugin, where it is used. It has no effect on other plugins

0 commit comments

Comments
 (0)