From 6be6fa4ab451ed0a28be7634c0458e4d7a6afd62 Mon Sep 17 00:00:00 2001 From: Dan Abramov Date: Wed, 10 Jul 2024 00:39:50 +0100 Subject: [PATCH] Revert "Bump the limit" This reverts commit afa4254e01278a3392819d67375628e341b5345c. --- 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 63e91d69b8..01e9537600 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, 1800) + const stack = (new Error().stack ?? '').slice(0, MAX_SLICE_LENGTH) Statsig.logEvent('session:error', null, { did, event,