mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-17 13:53:52 +02:00
patch crash report
This commit is contained in:
@@ -121,8 +121,10 @@ async function registerSentryPiniaPlugin() {
|
||||
}
|
||||
|
||||
export async function initPiniaPlugins() {
|
||||
registerPiniaActionTrailPlugin();
|
||||
await registerSentryPiniaPlugin();
|
||||
setTimeout(() => {
|
||||
registerPiniaActionTrailPlugin();
|
||||
}, 60000);
|
||||
}
|
||||
|
||||
export function createGlobalStores() {
|
||||
|
||||
@@ -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}`
|
||||
|
||||
Reference in New Issue
Block a user