mirror of
https://github.com/idanoo/NZCovidBot
synced 2025-07-01 11:12:15 +00:00
Add webhook to error output
This commit is contained in:
parent
87a0cf7158
commit
29b1394885
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue