openreplay/frontend/app/init/sentry.js
Shekar Siri 2ed5cac986
Webpack upgrade and dependency cleanup (#523)
* change(ui) - webpack update
* change(ui) - api optimize and other fixes
2022-06-03 16:47:38 +02:00

5 lines
No EOL
135 B
JavaScript

import * as Sentry from '@sentry/browser';
if (window.env.SENTRY_ENABLED === 'true') {
Sentry.init({ dsn: window.env.SENTRY_URL });
}