Fixed error handling for the ChromeApp driver.