You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is I want to always use HTTPException because it triggers app.onError() which I use for logging to Sentry. Setting the status code does not do this.
What is the feature you are proposing?
The docs for the
app.onError
handling have an incomplete example. https://hono.dev/api/exception#handling-httpexceptionIt would be helpful if the example was expanded where the
// ...
is to show how to pass through the err if it is not anHTTPException
.The text was updated successfully, but these errors were encountered: