Catch exceptions and send them to window.onuncaughtException(e). fireUncaughtException(e) is just a more robust way of calling this function