docs(deno): Add docs for Hono SDK (Deno)#18373
Open
s1gr1d wants to merge 3 commits into
Open
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
chargome
approved these changes
Jun 11, 2026
Comment on lines
85
to
94
| npm install @sentry/bun | ||
| ``` | ||
|
|
||
| ```bash {tabTitle:Deno} | ||
| deno add npm:@sentry/deno | ||
| ``` | ||
|
|
||
| </SplitSectionCode> | ||
| </SplitSection> | ||
| </SplitLayout> |
Contributor
There was a problem hiding this comment.
Bug: The Deno installation guide is missing the instruction to install the main @sentry/hono package, which will cause an import error when following the code example.
Severity: MEDIUM
Suggested Fix
Add a "Deno" tab to the first installation step's code block. This tab should contain the command deno add npm:@sentry/hono to ensure users install the main package before proceeding.
Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent. Verify if this is a real issue. If it is, propose a fix; if not, explain why it's
not valid.
Location: docs/platforms/javascript/guides/hono/index.mdx#L85-L94
Potential issue: The documentation for setting up Sentry with the Hono framework for the
Deno runtime is incomplete. The first installation step, which instructs users to
install the main `@sentry/hono` package, is missing a tab with the command for Deno
users. The second step correctly shows how to install the `@sentry/deno` peer
dependency. However, the code example provided later in the guide relies on an import
from `@sentry/hono/deno`, which will fail if the main `@sentry/hono` package is not
installed. This creates a broken onboarding experience for Deno users, as following the
documented steps will lead to an import error.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
DESCRIBE YOUR PR
Merge after this is released: getsentry/sentry-javascript#21450
IS YOUR CHANGE URGENT?
Help us prioritize incoming PRs by letting us know when the change needs to go live.
SLA
Thanks in advance for your help!