feat: sentry feedback form (#388)

This commit is contained in:
Adam Uhlíř
2022-06-20 11:39:22 +02:00
committed by GitHub
parent 2be9735e0c
commit b3028d7893
6 changed files with 115 additions and 3 deletions
+1
View File
@@ -21,6 +21,7 @@ export async function initSentry(): Promise<void> {
Sentry.init({
dsn: config.SENTRY_KEY,
release: packageJson.version,
environment: config.SENTRY_ENVIRONMENT,
tunnel: tunnelAvailable ? `${config.BEE_DESKTOP_URL}/sentry` : undefined,
integrations: [new BrowserTracing({ tracingOrigins: ['localhost'] })],
tracesSampleRate: 0.3,