public void ReportError(Check check) { var tab = check.GetTab(); var location = check.GetLocation(); MarkCheckErrored(check); if (!AllChecksInError(tab, location)) return; var message = String.Format("ALERT - A SERVER MAY BE DOWN - All checks are errored for: {{ tab: '{0}', location: '{1}' }}.", tab, location); Log.Warning(message); _emailService.SendErrorEmail(_target, message, tab); ClearErrors(tab, location); }