• English日本語한국어
  • Log inStart now

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

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.