improve ux on crash recovery

This commit is contained in:
pa
2025-12-30 21:35:04 +09:00
committed by Natsumi
parent 5e9dcfbd3f
commit 7ad89aaeb9
3 changed files with 10 additions and 6 deletions

View File

@@ -48,7 +48,7 @@ export async function initSentry(app) {
release: version,
replaysSessionSampleRate: 0,
replaysOnErrorSampleRate: 1.0,
tracesSampleRate: 0.001,
tracesSampleRate: 0.0001,
beforeSend(event, hint) {
const error = hint.originalException;
if (error && typeof error.message === 'string') {