Re:You Really Should Log Client-Side Errors
by jrgnsd on Wednesday April 04, 2012 @06:48AM
(#3796969)
Would you care to elaborate?
[ Parent
| on HN ]
Re:You Really Should Log Client-Side Errors
by Kartificial on Wednesday April 04, 2012 @06:59AM
(#3796990)
Various comments already pointed to problems that could come with a rough error-logging implementation. Because he used AJAX for every error, it creates a (unnecessary) strain on the network/server when in production. Besides this, the usefulness of the data logged may vary heavily. Therefore I suggest you do not log everything, like chrisacky points out. What exactly to log is an interesting resulting question.
I do fancy the idea of logging problems client-side, because they result in users leaving your site but leaving you without a clue what happened.
Re:You Really Should Log Client-Side Errors
by latch on Wednesday April 04, 2012 @07:06AM
(#3797012)
I think chrisacky has a good solution there as well. You just start to filter things you know you can't do anything about.
The approach to rolling this out then might be to do it for only a small % of users at first so that it isn't overwhelming. You include more users as you notice that your manually created filters work.