raygun4js
raygun4js copied to clipboard
Any way to send more than 512 characters ?
Hi, the payload seems to be truncated at 512 characters. I believe it's coming from here: https://github.com/MindscapeHQ/raygun4js/blob/master/src/raygun.js#L863
Is there any way to change this number via an option ?
Why are you wanting to send a longer message?
What kind of issue is a short message giving you?
Throwing the whole network request payload get truncated not ideal to investigate what’s happening. 512 character is very small if we want something like a call stack. The c# lib seems to be able to send a lot more characters. My understanding is that Raygun support body of maximum size 128KB so about 256x time more than the raygun js
@erwan-joly I may be misunderstanding this, but we only truncate the message
, the whole call stack is left intact.
https://github.com/MindscapeHQ/raygun4js/blob/master/src/raygun.js#L870
https://github.com/MindscapeHQ/raygun4js/blob/master/src/raygun.js#L891
So I'm unsure why you would need more than 512 characters in the message itself.