Handle client side uncaught exceptions