Changed the last added exception from a warning to an error