Raygun truncating javascript stacktraces

bmallen1

Posted on
Apr 14 2018

i'm manually triggering an error in my angularJS app and the stack trace logged to the browser console resembles the attached image. However in Raygun error reporting, I'm missing part of the stack trace that is crucial in identifying the location of the errors in my code. These missing lines are designated in the screenshot by the white arrow.

If I step through my code, when I initially call rg4js('send', ...), my exception object contains the relevant stack trace information. If I also set a breakpoint in the Raygun.js code Line 2389 (e.g., _publicRaygunFunctions.send()), the exception argument passed into this function is now missing/intentionally omitting the relevant stack trace lines.


Reply