From 012b2b1cc532712a73e1627f517666531fdaec10 Mon Sep 17 00:00:00 2001 From: Matt Rubens Date: Sat, 21 Jun 2025 10:32:12 -0400 Subject: [PATCH] Increase sentry maxValueLength (#111) --- apps/web/src/instrumentation-client.ts | 4 ++++ apps/web/src/instrumentation.ts | 6 ++++++ 2 files changed, 10 insertions(+) diff --git a/apps/web/src/instrumentation-client.ts b/apps/web/src/instrumentation-client.ts index c9e1e3096a..fd8ad296bc 100644 --- a/apps/web/src/instrumentation-client.ts +++ b/apps/web/src/instrumentation-client.ts @@ -12,6 +12,10 @@ Sentry.init({ debug: false, replaysSessionSampleRate: 0.1, replaysOnErrorSampleRate: 1.0, + + // Increase max length for messages to prevent truncation (default is 250) + maxValueLength: 8192, + integrations: [ Sentry.replayIntegration({ maskAllText: true, diff --git a/apps/web/src/instrumentation.ts b/apps/web/src/instrumentation.ts index 99a2b81eab..7bd117d4fa 100644 --- a/apps/web/src/instrumentation.ts +++ b/apps/web/src/instrumentation.ts @@ -17,6 +17,9 @@ export async function register() { // Setting this option to true will print useful information to the console while you're setting up Sentry. debug: false, + + // Increase max length for messages to prevent truncation (default is 250) + maxValueLength: 8192, }); } @@ -35,6 +38,9 @@ export async function register() { // Setting this option to true will print useful information to the console while you're setting up Sentry. debug: false, + + // Increase max length for messages to prevent truncation (default is 250) + maxValueLength: 8192, }); } }