fix(sentry): enlight removing replay and cleaning useless error

This commit is contained in:
devthejo 2026-01-15 18:54:54 +01:00
parent a12bd59352
commit bc5129f7bf
No known key found for this signature in database
GPG key ID: 00CCA7A92B1D5351
2 changed files with 2 additions and 7 deletions

View file

@ -55,11 +55,6 @@ export async function deleteFcmToken() {
} catch (error) {
const errorData = { error: error.message, stack: error.stack };
fcmLogger.error("Token deletion failed", errorData);
Sentry.withScope((scope) => {
scope.setExtra("errorDetails", errorData);
Sentry.captureException(new Error("Failed to delete FCM token"));
});
return false;
}
}

View file

@ -125,8 +125,8 @@ const initializeSentry = async () => {
}
return breadcrumb;
},
replaysSessionSampleRate: 0.1,
replaysOnErrorSampleRate: 1.0,
replaysSessionSampleRate: 0,
replaysOnErrorSampleRate: 0,
integrations: [
// Sentry.mobileReplayIntegration({
// maskAllText: false,