Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New to the CF scene
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question Do you log JavaScript errors on your live website?

    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?

  • #2
    Regular Coder
    Join Date
    Sep 2011
    Location
    Sweden
    Posts
    154
    Thanks
    1
    Thanked 22 Times in 22 Posts

    Smile

    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.)

  • #3
    New to the CF scene
    Join Date
    Oct 2011
    Posts
    2
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by ironboy View Post
    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.
    Last edited by VIPStephan; 10-28-2011 at 06:41 PM. Reason: removed self promotion


  •  

    Tags for this Thread

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •