528 B
528 B
Sentry middleware for Hono
Sentry middleware for Hono.
This middleware sends captured exceptions to the Sentry data source named by the SENTRY_DSN
environment variable via toucan-js.
Usage
import { sentry } from '@honojs/sentry'
import { Hono } from 'hono'
const app = new Hono()
app.use('*', sentry())
app.get('/', (c) => c.text('foo'))
export default app
Author
Yusuke Wada https://github.com/yusukebe
License
MIT