Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

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

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

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

Parameters

url: string

report endpoint

body: string | Uint8Array

report payload