A simple JavaScript library for tracking errors (unhandled exceptions) on clients by logging them via AJAX to the server. It uses TraceKit if avalable to get additional information about exception.
- Build concatenated and minified version with
make(make sure you have UglifyJS installed). - Include the
errorlogger.min.jsscript at the very top of the page in header. - Implement server-side part that recieves JSON encoded message.