mirror of
https://github.com/MrUnknownDE/VRCX.git
synced 2026-04-18 14:23:51 +02:00
fix sentry reporting
This commit is contained in:
@@ -109,6 +109,7 @@ export function startRendererMemoryThresholdReport(
|
||||
lastSent = now;
|
||||
|
||||
const trail = getPiniaActionTrail();
|
||||
const trailText = JSON.stringify(trail);
|
||||
Sentry.withScope((scope) => {
|
||||
scope.setLevel('warning');
|
||||
scope.setTag('reason', 'high-js-heap');
|
||||
@@ -118,7 +119,7 @@ export function startRendererMemoryThresholdReport(
|
||||
ratio
|
||||
});
|
||||
scope.setContext('pinia_actions', {
|
||||
trail,
|
||||
trailText,
|
||||
count: trail.length
|
||||
});
|
||||
Sentry.captureMessage(
|
||||
|
||||
Reference in New Issue
Block a user