Truncated Additional Data


#1

I am using Javascript SDK and Sentry’s automatic error handling service, but under Additional Data, a bit of the data is being truncated.

The issue is being caused when serializeValue() is being called inside my node_modules/@sentry/browser/dist/index.js, on line 975. There’s a constant 40 that gets passed to a truncate function, which is why my data is being truncated. Is there a way to get around this problem?

Thanks!


#2

Right now there isn’t a way around this.
A new option called maxValueLength will land with the new version 5.0.0


#3

Sounds good! Thanks.