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

x/sentry/index.mjs>addBreadcrumb

The Official Sentry Deno SDK
Latest
function addBreadcrumb
import { addBreadcrumb } from "https://deno.land/x/sentry@7.120.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"]>