Snowplow event tracker for client-side and server-side JavaScript. Add analytics to your websites, web apps and servers.
BSD 3-Clause "New" or "Revised" License
555
stars
222
forks
source link
Truncate stack when application_error stack trace exceeds 8kb (close #1327) #1328
Closed
Jack-Keene closed 4 months ago
This PR fixes an issue where the stack trace exceeds 8k - causing a failed event on the error tracking.
It uses the 'Blob' API to check the size of the stack trace, and if it exceeds 8kb truncates it using the
TextDecoder
API.