Yelp interview question

Create a global error logger module that catches all errors and sends them to a server.

Interview Answer

Anonymous

3 Jul 2013

Wrap the init method in a try catch block and send the exception details via ajax.