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 1bae76d commit cd402caCopy full SHA for cd402ca
src/telemetry/fetchInstrumentation.ts
@@ -96,7 +96,7 @@ export class FetchInstrumentation implements Instrumentation {
96
97
constructor(config: FetchInstrumentationConfig) {
98
// Force load fetch API (since it's lazy loaded in Node 18)
99
- fetch('').catch(Promise.resolve);
+ fetch('').catch(() => Promise.resolve());
100
this.channelSubs = [];
101
this.meter = metrics.getMeter(this.instrumentationName, this.instrumentationVersion);
102
this.tracer = trace.getTracer(this.instrumentationName, this.instrumentationVersion);
0 commit comments