diff options
author | Joram Wilander <jwawilander@gmail.com> | 2018-09-24 08:19:56 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-24 08:19:56 -0400 |
commit | 89cd752aa1bd8bc290b32cce531b47767fb3e4b8 (patch) | |
tree | 9f0aa140362bd1bd87b6d662498df61f187f7a15 /web/webhook.go | |
parent | 9d73c79deff403dd9ac2d1476e1c5fdc282beafc (diff) | |
download | chat-89cd752aa1bd8bc290b32cce531b47767fb3e4b8.tar.gz chat-89cd752aa1bd8bc290b32cce531b47767fb3e4b8.tar.bz2 chat-89cd752aa1bd8bc290b32cce531b47767fb3e4b8.zip |
Include webhook ID in debug log (#9439)
Diffstat (limited to 'web/webhook.go')
-rw-r--r-- | web/webhook.go | 2 |
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) |