12 lines
214 B
TypeScript
12 lines
214 B
TypeScript
|
import { Conf } from './config.ts';
|
||
|
import { Sentry } from './deps.ts';
|
||
|
|
||
|
// Sentry
|
||
|
if (Conf.sentryDsn) {
|
||
|
console.log('Sentry enabled');
|
||
|
Sentry.init({
|
||
|
dsn: Conf.sentryDsn,
|
||
|
tracesSampleRate: 1.0,
|
||
|
});
|
||
|
}
|