AngularJSErrorReporting

Error reporting module for AngularJS

Added by: Sam Deering

GitHub

Repository

link-nv/angularjserrorreporting

Stats

Stars: 1

Watchers: 1

Forks: 0

Author

Lin.k NV
Lin.k NV

Module Description

AngularJSErrorReporting

Log client side errors with AngularJS. This module augments the default AngularJS exception handler by logging client-side errors serverside.

Requirements

Usage

Include in your AngularJS app and configure the URL to POST exceptions to:

myapp.config(['ErrorReportProvider', function(ErrorReportProvider){
    ErrorReportProvider.reportUrl = '<your_url>';
}]);

Exceptions are submitted in JSON format:

{
    errorUrl: "http://...",
    errorMessage: "some message",
    cause: "some cause",
    stackTrace: ["line1", "line2", "line3", ...],
    userAgent: "the user agent"
}

Module stats last updated: 2015-04-19 03:02:51

Disclaimer: Some data on this page may have been gathered from the authors GitHub respository. If you see any mistakes or outdated information please let us know. Thanks!