mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-05-28 18:26:54 +00:00
fix(api): increase max message size for sentry (#57080)
This commit is contained in:
committed by
GitHub
parent
bdb08e6284
commit
9c73159f10
@@ -15,6 +15,7 @@ import { getRedirectParams } from '../utils/redirection';
|
||||
const errorHandling: FastifyPluginCallback = (fastify, _options, done) => {
|
||||
void fastify.register(fastifySentry, {
|
||||
dsn: SENTRY_DSN,
|
||||
maxValueLength: 8192, // the default is 250, which is too small.
|
||||
// No need to initialize if DSN is not provided (e.g. in development and
|
||||
// test environments)
|
||||
skipInit: !SENTRY_DSN,
|
||||
|
||||
Reference in New Issue
Block a user