forked from CFC-Servers/cfc_chat_transit
add prefix to error log for webhook execute
This commit is contained in:
parent
c66e2f849f
commit
95b889e0b0
Binary file not shown.
@ -84,9 +84,8 @@ func sendMessage(discord *discordgo.Session, message EventStruct) {
|
||||
}
|
||||
|
||||
_, err := discord.WebhookExecute(WebhookId, WebhookSecret, true, params)
|
||||
|
||||
if err != nil {
|
||||
log.Println(err)
|
||||
log.Println("WebhookExecute errored: ", err)
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user