mirror of
https://github.com/CFC-Servers/cfc_chat_transit.git
synced 2025-03-04 03:03:05 -05:00
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