Enables Sentry error reporting for Elysium applications.
bun add @elysiumjs/plugin-sentryimport { Application } from '@elysiumjs/core';
import { plugin as sentry } from '@elysiumjs/plugin-sentry';
@Application.register({
// Your other app options
plugins: [
sentry({
serverName: 'my-app',
dsn: 'https://<key>@sentry.io/<project>'
})
// Your other plugins
]
})
class MyApp extends Application {}This plugin forwards all options to the Sentry initialization method. You can find the full list of options here.
This project is licensed under the terms of the Apache License 2.0.