Truncated Additional Data

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!

1 Like

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

Sounds good! Thanks.