diff --git a/src/stores/index.js b/src/stores/index.js index fc0e85e6..d5bd5a3b 100644 --- a/src/stores/index.js +++ b/src/stores/index.js @@ -121,8 +121,10 @@ async function registerSentryPiniaPlugin() { } export async function initPiniaPlugins() { - registerPiniaActionTrailPlugin(); await registerSentryPiniaPlugin(); + setTimeout(() => { + registerPiniaActionTrailPlugin(); + }, 60000); } export function createGlobalStores() { diff --git a/src/stores/vrcx.js b/src/stores/vrcx.js index d0e3e1a0..ba377cf2 100644 --- a/src/stores/vrcx.js +++ b/src/stores/vrcx.js @@ -544,7 +544,7 @@ export const useVrcxStore = defineStore('Vrcx', () => { scope.setTag('reason', 'crash-recovery'); scope.setContext('pinia_actions', { trailText, - count: trail.length + sessionTime: performance.now() / 1000 / 60 }); Sentry.captureMessage( `crash message: ${crashMessage}`