Initialize sentry after getting API status

This commit is contained in:
Eli Ribble 2026-04-21 23:58:04 +00:00
parent 839abcbd28
commit 986d12eab2
No known key found for this signature in database
3 changed files with 17 additions and 10 deletions

View file

@ -2,7 +2,6 @@ import { createApp } from "vue";
import { createPinia } from "pinia";
import App from "@/AppSync.vue";
import router from "@/router";
import * as Sentry from "@sentry/vue";
import * as config from "@/config";
import "maplibre-gl/dist/maplibre-gl.css";
@ -23,11 +22,3 @@ const app = createApp(App);
app.use(pinia);
app.use(router);
app.mount("#app");
Sentry.init({
dsn: config.DSN,
integrations: [Sentry.browserTracingIntegration({ router })],
environment: config.ENVIRONMENT,
release: config.RELEASE,
tracesSampleRate: 0.01,
});