We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4360395 commit e3fc9eeCopy full SHA for e3fc9ee
packages/bundler-plugin-core/src/plugins/telemetry.ts
@@ -18,10 +18,12 @@ export function telemetryPlugin({
18
return {
19
name: "sentry-telemetry-plugin",
20
buildStart() {
21
- void shouldSendTelemetry.then(() => {
22
- logger.info(
23
- "Sending error and performance telemetry data to Sentry. To disable telemetry, set `options.telemetry` to `false`."
24
- );
+ void shouldSendTelemetry.then((willSendTelemetry) => {
+ if (willSendTelemetry) {
+ logger.info(
+ "Sending error and performance telemetry data to Sentry. To disable telemetry, set `options.telemetry` to `false`."
25
+ );
26
+ }
27
});
28
pluginExecutionTransaction.startTimestamp = Date.now() / 1000;
29
},
0 commit comments