In my application I have implements an $exceptionHandler that posts to a my
server whenever and uncaught exception occurs. This is great for catching
any client side errors.

Initially I was using $http to post the data. However I soon noticed that
it would loop:

code throws an exception ->
$exceptionHandled ->
post data using $http  ->
$apply updates $scopes which triggers code that throws an exception ->
$exceptionHandled -> repeat forever

So my current result is now to use jQuery to post the data. This isn't a
problem in my current project since jQuery is already present, however I'd
prefer making it a simple Angular-only solution.

Any ideas?

-Clint Checketts

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to