Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Is it possible to output a warning "No Fetch API detected."? #16284

Copy link
Copy link
Closed
@jihea-park

Description

@jihea-park
Issue body actions

Description

https://github.com/getsentry/sentry-javascript/blob/develop/packages/browser/src/sdk.ts#L190

I am studying sentry/browser code.

Initially, logger.enabled is set to false.

In the initAndBind function of sentry/core, logger.enable() is called, and the logger is enabled from then on.

However, logger.warn('No Fetch API detected. The Sentry SDK requires a Fetch API compatible environment to send events. Please add a Fetch API polyfill.',); exists above the initAndBind function.

Is it possible to output a warning "No Fetch API detected."?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

No status
Show more project fields

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.