Added an alert if error count was too high