raygun4node icon indicating copy to clipboard operation
raygun4node copied to clipboard

Getting "Error is too large to send to Raygun"

Open markcellus opened this issue 1 year ago • 3 comments

The package appears not to log errors with bigger strings. And the truncated chars aren't as helpful. Makes finding the cause of the error impossible. Is there any way to increase the maximum allowed bytes? Thanks for any info!

markcellus avatar Apr 03 '24 09:04 markcellus

Took a look at the code. Can the code at least throw an error here instead of just returning? So that we can log internal details about the error that causes it?

markcellus avatar May 05 '24 13:05 markcellus

Hi. I am currently going through the package, fixing things, and implementing async/await support in general. I think in this case it can be done, and it will properly warn the user when calling send().

miquelbeltran avatar May 05 '24 18:05 miquelbeltran

Awesome! Making send return a Promise would be great. Thank you so much for working on this!

markcellus avatar May 05 '24 18:05 markcellus