diff --git a/services/tasks/alert.go b/services/tasks/alert.go index ab3e94a93..c8fefd217 100644 --- a/services/tasks/alert.go +++ b/services/tasks/alert.go @@ -64,7 +64,7 @@ func (t *TaskRunner) sendMailAlert() { } if err2 != nil { - util.LogWarning(err2) + util.LogError(err2) continue } @@ -77,7 +77,7 @@ func (t *TaskRunner) sendMailAlert() { } if err2 != nil { - util.LogWarning(err2) + util.LogError(err2) } } }