Include webhook ID in debug log (#9439)

This commit is contained in:
Joram Wilander 2018-09-24 08:19:56 -04:00 committed by GitHub
parent 9d73c79def
commit 89cd752aa1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -57,7 +57,7 @@ func incomingWebhook(c *Context, w http.ResponseWriter, r *http.Request) {
}
if c.App.Config().LogSettings.EnableWebhookDebugging {
mlog.Debug(fmt.Sprint("Incoming webhook received. Content=", incomingWebhookPayload.ToJson()))
mlog.Debug(fmt.Sprintf("Incoming webhook received. Id=%s Content=%s", id, incomingWebhookPayload.ToJson()))
}
err = c.App.HandleIncomingWebhook(id, incomingWebhookPayload)