mirror of
https://github.com/aljazceru/ditto.git
synced 2025-12-28 02:34:25 +01:00
13 lines
219 B
TypeScript
13 lines
219 B
TypeScript
import * as Sentry from '@sentry/deno';
|
|
|
|
import { Conf } from '@/config.ts';
|
|
|
|
// Sentry
|
|
if (Conf.sentryDsn) {
|
|
console.log('Sentry enabled');
|
|
Sentry.init({
|
|
dsn: Conf.sentryDsn,
|
|
tracesSampleRate: 1.0,
|
|
});
|
|
}
|