Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

@elysiumjs/plugin-sentry

Enables Sentry error reporting for Elysium applications.

Installation

bun add @elysiumjs/plugin-sentry

Usage

import { 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 {}

Configuration

This plugin forwards all options to the Sentry initialization method. You can find the full list of options here.

License

This project is licensed under the terms of the Apache License 2.0.