Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ description: "Reports Hono errors to Sentry. (default)"

_Import name: `Sentry.honoIntegration`_

<Alert type="warning">
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
<Alert type="warning">
<Alert level="warning">

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I also always want to write "type" instead 😅


**Deprecated**: `honoIntegration` is deprecated. Use the dedicated [`@sentry/hono`](/platforms/javascript/guides/hono/) SDK instead, which supports Hono across Cloudflare Workers, Node.js, and Bun with improved performance and a simpler setup.

</Alert>

This integration is enabled by default. If you'd like to modify your default integrations, read [this](./../#modifying-default-integrations).

The `honoIntegration` automatically captures errors from Hono's `onError` function and sends them to Sentry. By default, the integration doesn't capture errors that have a 3xx or 4xx HTTP status code.
Expand Down
Loading