...

View Full Version : Do you log JavaScript errors on your live website?



muscula
10-09-2011, 11:06 AM
Do you log JavaScript errors on your live website?
The actual errors that users experience?

If you do, what tool do you use? And how is it woring out?
If you don''t why not?

ironboy
10-09-2011, 04:05 PM
No, we do not log them automatically but I would be very interesting in a good crossbrowser tool for this.

(And I would still like them to pass through as errors as well - since our customer service is instructed to ask customer to check this if the have a case were the web behaves erratic.)

muscula
10-10-2011, 01:42 PM
No, we do not log them automatically but I would be very interesting in a good crossbrowser tool for this.

(And I would still like them to pass through as errors as well - since our customer service is instructed to ask customer to check this if the have a case were the web behaves erratic.)

Great that you can see the need for this, some developers don't get it, those with a bit more experience usually do.

If you want to experimet with doing this yourself you can google for the onerror JavaScript event. It does not provide a great deal of detail about the errors, and it does not log errors on Safari, iPad or IPhone. But it may be good enough for some. You'll also have to build a backend to log the errors.
Some also use services like airbreak and exceptinal. But their main focus is backend logging, not JavaScript-error logging. If you're running node.js, as your webserver, there is also the proxino proxy server. These tools all need to be installed on the webserver.



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum