Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/sentry_deno/packages/hub/src/index.ts>makeSession

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

Creates a new Session object by setting certain default parameters. If optional @param context is passed, the passed properties are applied to the session object.

Parameters

optional
context: Omit<SessionContext, "started" | "status">

(optional) additional properties to be applied to the returned session object

Returns

Session

a new Session object