Skip to content

Commit

Permalink
fix(node-sdk): Update to not accept when exporter is set to none.
Browse files Browse the repository at this point in the history
  • Loading branch information
JacksonWeber committed Dec 29, 2023
1 parent 3800ac8 commit 971b5c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion experimental/packages/opentelemetry-sdk-node/src/sdk.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ export class NodeSDK {
if (
configuration.spanProcessor ||
configuration.traceExporter ||
env.OTEL_TRACES_EXPORTER
(env.OTEL_TRACES_EXPORTER && env.OTEL_TRACES_EXPORTER !== 'none')
) {
const tracerProviderConfig: NodeTracerConfig = {};

Expand Down

0 comments on commit 971b5c9

Please sign in to comment.