AngularJS errors do not appear

Problem

You're using AngularJS and want to report JavaScript errors to New Relic, but you don't see your application's errors on the JavaScript errors page.

Solution

AngularJS applications often include a global error handler that catches all errors, and by default, New Relic Browser only reports uncaught errors.

Use the noticeError API call to report the errors to New Relic. This allows you to handle them as part of your regular error processing, but also see them within the New Relic UI.

For more help

Recommendations for learning more: