Logging Javascript Errors

  1. last year

    Hello I am using the New Relic Browser. Currently it is correctly logging the page views but not the javascript errors. If I use the newrelic.noticeError() it does log my javascript errors inside of the js errors page on new relic.
    Is using newrelic.noticeError() the only way to log my errors? I was just under the assumption that any unhandled javascript error was going to be automatically saved to new relic and I would only use newrelic.noticeError() for errors that I can safely handle.

    I didn't find the right solution from the Internet.

    References https://discuss.newrelic.com/t/logging-javascript-errors/52265

    Brand Advertising Example

or Sign Up to reply!