diff --git a/packages/core/src/submission/DefaultSubmissionClient.ts b/packages/core/src/submission/DefaultSubmissionClient.ts index 80295804..2675d07f 100644 --- a/packages/core/src/submission/DefaultSubmissionClient.ts +++ b/packages/core/src/submission/DefaultSubmissionClient.ts @@ -13,7 +13,7 @@ export class DefaultSubmissionClient implements ISubmissionClient { protected readonly ConfigurationVersionHeader: string = "x-exceptionless-configversion"; - public constructor(protected config: Configuration, private fetch = globalThis.fetch.bind(globalThis)) { } + public constructor(protected config: Configuration, private fetch = globalThis.fetch?.bind(globalThis)) { } public getSettings(version: number): Promise> { const url = `${this.config.serverUrl}/api/v2/projects/config?v=${version}`;