summaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
authorJoram Wilander <jwawilander@gmail.com>2018-09-24 08:19:56 -0400
committerGitHub <noreply@github.com>2018-09-24 08:19:56 -0400
commit89cd752aa1bd8bc290b32cce531b47767fb3e4b8 (patch)
tree9f0aa140362bd1bd87b6d662498df61f187f7a15 /web
parent9d73c79deff403dd9ac2d1476e1c5fdc282beafc (diff)
downloadchat-89cd752aa1bd8bc290b32cce531b47767fb3e4b8.tar.gz
chat-89cd752aa1bd8bc290b32cce531b47767fb3e4b8.tar.bz2
chat-89cd752aa1bd8bc290b32cce531b47767fb3e4b8.zip
Include webhook ID in debug log (#9439)
Diffstat (limited to 'web')
-rw-r--r--web/webhook.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/webhook.go b/web/webhook.go
index 55cdeb9b5..a5e8300b4 100644
--- a/web/webhook.go
+++ b/web/webhook.go
@@ -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)