Skip to main content
Module

x/sentry/index.mjs>addBreadcrumb

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

Records a new breadcrumb which will be attached to future events.

Breadcrumbs will be added to subsequent events to provide more context on user's actions prior to an error or crash.

Parameters

breadcrumb: Breadcrumb

The breadcrumb to record.

optional
hint: BreadcrumbHint

Returns

ReturnType<Hub["addBreadcrumb"]>