only fail on errors, not on warnings