Skip to content

link-nv/AngularJSErrorReporting

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published