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

x/sentry/index.mjs>captureSession

The Official Sentry Deno SDK
Latest
function captureSession
import { captureSession } from "https://deno.land/x/sentry@8.37.1/index.mjs";

Sends the current session on the scope to Sentry

Parameters

optional
end: boolean

If set the session will be marked as exited and removed from the scope. Defaults to false.