elysiajs-sentry
v1.3.2
Published
[Sentry](https://docs.sentry.io/) plugin for Elysia server.
Downloads
1,511
Maintainers
Readme
elysiajs-sentry
Sentry plugin for Elysia server.
This plugin has NOT been tested on the Node runtime.
Capture Issues
Capture Traces
Quickstart
Assign environment variables (optional).
A. Assign your DSN (from step 1) to
SENTRY_DSN.B. Assign your environment name (recommend
'development' | 'staging' | 'production') toSENTRY_ENVIRONMENT.Import and use the plugin.
import { sentry } from 'elysiajs-sentry';
import { Elysia } from 'elysia';
const app = new Elysia()
.use(sentry())
.listen(3000);