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 cff6f9a commit 272043dCopy full SHA for 272043d
packages/node/src/integrations/utils/http.ts
@@ -154,7 +154,7 @@ export function normalizeRequestArgs(
154
requestOptions.protocol =
155
(requestOptions.agent as any)?.protocol ||
156
(requestOptions._defaultAgent as any)?.protocol ||
157
- (httpModule.globalAgent as any)?.protocol;
+ (httpModule?.globalAgent as any)?.protocol;
158
/* eslint-enable @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-explicit-any */
159
}
160
0 commit comments