Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[Session] Include stack with the debug event (#4763)

authored by

dan and committed by
GitHub
fa64d939 9b9e09d0

+6 -1
+6 -1
src/state/session/logging.ts
··· 76 76 if (!Statsig.initializeCalled() || !Statsig.getStableID()) { 77 77 return 78 78 } 79 - Statsig.logEvent('session:error', null, {did, event}) 79 + const stack = (new Error().stack ?? '').slice(0, MAX_SLICE_LENGTH) 80 + Statsig.logEvent('session:error', null, { 81 + did, 82 + event, 83 + stack, 84 + }) 80 85 } catch (e) { 81 86 console.error(e) 82 87 }