Adds error handling for karma using chrome to run tests