Add webhook to error output

This commit is contained in:
Daniel Mason 2021-10-06 15:44:24 +13:00
parent 87a0cf7158
commit 29b1394885
Signed by: idanoo
GPG key ID: 387387CDBC02F132

View file

@ -36,7 +36,7 @@ func postToSlack() {
err := slack.Send(parts[0], "", payload)
if len(err) > 0 {
fmt.Print(err)
fmt.Printf("Wehbook: %s\nError: %s", webhook, err)
}
}
}