I run my site on AngularJS and use New Relic JS errors notifications to detect errors.
I want to fix major errors, and basically did it. But I can't reproduce one error that can be logged on any page of site:
Stack trace
UncaughtException: Script error.
in evaluated code
I tried to visit those pages with the same browser, with low-speed connection, on Mac, Windows, Ubuntu as New Relic logged. But it didn't make sense.
So, my question is there any technique that can help me to catch this error or extend information about it? It can be common JS technique or AngularJS specific.
The "Script error" message is one that it's difficult to get more details on, because the error occurred before New Relic's Javascript monitoring was able to wrap any of the script's functions. This can commonly occur during script loading, or it may mean that the error occurs during an interaction with a browser plugin or extension, or from an inline event handler.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With