From d67fbd326244ba73b359f51d7332c2c9a30c890a Mon Sep 17 00:00:00 2001 From: pa Date: Tue, 13 Jan 2026 15:03:32 +0900 Subject: [PATCH] patch crash report --- src/stores/index.js | 4 +++- src/stores/vrcx.js | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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}`