Added uncaught error handling block.