mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-05-03 13:36:04 +02:00
revert simpify crash report trail text generation
This commit is contained in:
+1
-9
@@ -543,15 +543,7 @@ export const useVrcxStore = defineStore('Vrcx', () => {
|
||||
}
|
||||
return ts.isAfter(cutoff) || ts.isSame(cutoff);
|
||||
});
|
||||
const trailText = trail
|
||||
.map((entry) => {
|
||||
const t = dayjs(entry.ts).format('HH:mm:ss');
|
||||
const a = entry.action ?? '';
|
||||
if (!a) return t;
|
||||
return `${t} ${a}`;
|
||||
})
|
||||
.filter(Boolean)
|
||||
.join(';');
|
||||
const trailText = JSON.stringify(trail);
|
||||
Sentry.withScope((scope) => {
|
||||
scope.setLevel('fatal');
|
||||
scope.setTag('reason', 'crash-recovery');
|
||||
|
||||
Reference in New Issue
Block a user