Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/sentry_deno/packages/browser/src/transports/utils.ts

Unofficial port of the Sentry SDK for JavaScript to Deno.
Latest
import * as sentryDeno from "https://deno.land/x/sentry_deno@v0.2.2/packages/browser/src/transports/utils.ts";

Functions

A special usecase for incorrectly wrapped Fetch APIs in conjunction with ad-blockers. Whenever someone wraps the Fetch API and returns the wrong promise chain, this chain becomes orphaned and there is no possible way to capture it's rejections other than allowing it bubble up to this very handler. eg.

Sends sdk client report using sendBeacon or fetch as a fallback if available