• /
  • Log in
  • Free account

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, browser monitoring 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.

Create issueEdit page
Copyright © 2022 New Relic Inc.