From afa4254e01278a3392819d67375628e341b5345c Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 10 Jul 2024 00:28:58 +0100 Subject: [PATCH] Bump the limit --- src/state/session/logging.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/state/session/logging.ts b/src/state/session/logging.ts index b57f1fa0b0..c1871a56d3 100644 --- a/src/state/session/logging.ts +++ b/src/state/session/logging.ts @@ -76,7 +76,7 @@ export function addSessionErrorLog(did: string, event: AtpSessionEvent) { if (!Statsig.initializeCalled() || !Statsig.getStableID()) { return } - const stack = (new Error().stack ?? '').slice(0, MAX_SLICE_LENGTH) + const stack = (new Error().stack ?? '').slice(0, 1800) Statsig.logEvent('session:error', null, { did, event,