This commit is contained in:
pa
2026-01-17 23:14:31 +09:00
committed by Natsumi
parent 5e5abc1141
commit 2d812d7c05
18 changed files with 211 additions and 97 deletions
+9 -7
View File
@@ -533,13 +533,15 @@ export const useVrcxStore = defineStore('Vrcx', () => {
if (advancedSettingsStore.sentryErrorReporting) {
try {
import('@sentry/vue').then((Sentry) => {
const trail = getPiniaActionTrail().filter((entry) => {
if (!entry) return false;
return (
typeof entry.t === 'string' &&
typeof entry.a === 'string'
);
});
const trail = getPiniaActionTrail()
.filter((entry) => {
if (!entry) return false;
return (
typeof entry.t === 'string' &&
typeof entry.a === 'string'
);
})
.reverse();
const trailText = JSON.stringify(trail);
Sentry.withScope((scope) => {
scope.setLevel('fatal');