splatoon3.ink/app/common/sentry.mjs
Matt Isenhower 9894ec30b1 Add Sentry
2023-08-03 08:52:01 -07:00

10 lines
167 B
JavaScript

import Sentry from '@sentry/node';
export function sentryInit() {
if (!process.env.SENTRY_DSN) {
return;
}
Sentry.init({ dsn: process.env.SENTRY_DSN });
}