monorepo for Hono third-party middleware/helpers/wrappers
 
 
Go to file
Samuel Lippert 03d66ea1b3
Remove Deno section from main README (no module)
2022-08-09 14:11:25 -05:00
.github/workflows Initial commit 2022-08-04 08:54:30 +09:00
deno_dist Import placeholder 2022-08-09 14:09:45 -05:00
deno_test Toucan reference not valid for Deno 2022-08-09 11:32:06 -05:00
src Rename 2022-08-03 19:03:19 -05:00
test Mock Toucan module, check captureException call 2022-08-09 10:49:41 -05:00
.eslintrc.js Initial commit 2022-08-04 08:54:30 +09:00
.gitignore Initial commit 2022-08-04 08:54:30 +09:00
.prettierrc Initial commit 2022-08-04 08:54:30 +09:00
README.md Remove Deno section from main README (no module) 2022-08-09 14:11:25 -05:00
jest.config.js Initial commit 2022-08-04 08:54:30 +09:00
package.json Add Toucan package 2022-08-03 19:03:13 -05:00
tsconfig.json Initial commit 2022-08-04 08:54:30 +09:00
yarn.lock Add Toucan package 2022-08-03 19:03:13 -05:00

README.md

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