Increase sentry maxValueLength (#111)

This commit is contained in:
Matt Rubens 2025-06-21 10:32:12 -04:00 committed by GitHub
parent dcb996ea9a
commit 012b2b1cc5
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 10 additions and 0 deletions

View file

@ -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,

View file

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