Javascript Exceptions to Hub Server Error Log

Javascript Exceptions to Hub Server Error Log

  
Javascript errors in a page give the impression of low quality.

This solution hides any Javascript exception, which might occur in a web page, and sends it to the Hub Server (AJAX call), presenting the exception in the Service Center Error Log, while the page is loaded.

Error Log will display something like:

Javascript exception in Default.aspx: causeException is not defined

This way you hide the exception from the user and still control your overall application through Service Center. This solution uses the Prototype Framework - I just love AJAX ...

Cheers