Skip to content

Latest commit

 

History

5 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

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"
}

About

Error reporting module for AngularJS

Resources

Stars

2 stars

Watchers

5 watching

Forks

Releases

Packages

Contributors

Languages