mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-25 06:15:56 +01:00
Merge pull request #1888 from semaphoreui/1869-task-output-reports-slack-alert-succesful-even-when-it-fails
fix(slack): log messege for unsuccess sent
This commit is contained in:
commit
b376928c04
@ -236,9 +236,9 @@ func (t *TaskRunner) sendSlackAlert() {
|
||||
t.Log("Can't send slack alert! Error: " + err.Error())
|
||||
} else if resp.StatusCode != 200 {
|
||||
t.Log("Can't send slack alert! Response code: " + strconv.Itoa(resp.StatusCode))
|
||||
}
|
||||
|
||||
} else {
|
||||
t.Log("Sent successfully slack alert")
|
||||
}
|
||||
}
|
||||
|
||||
func (t *TaskRunner) sendRocketChatAlert() {
|
||||
|
Loading…
Reference in New Issue
Block a user