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, }); } }