angular-exception-post

An angular module to post JS errors to the server

Angular Core Dependency: *

Module License: MIT

Added by: Sam Deering

GitHub

Repository

loosebits/angular-exception-post

Stats

Stars: 2

Watchers: 2

Forks: 0

Module Description

angular-exception-post

An angular module to post JS errors to the server. Uses stacktrace to generate the stacktrace to be posted to the server. Can be configured with a debounce time so a slew of errors aren't posted at once. Based on code from http://engineering.talis.com/articles/client-side-error-logging/

Requirements

  • AngularJS
  • stacktrace

Usage

angular.module('myApp',['loosebits.client.exception.post'])
  .config(['errorLogServiceProvider', function(errorLogServiceProvider) {
    errorLogServiceProvider
      .onSuccess('exceptionHandler') //Service called 
      .debounce(1000)
      .post-url('client-error');
}])  

Module stats last updated: 2015-06-28 11:03:03

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!