summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-05 13:50:43 -0500
committerUnknwon <u@gogs.io>2015-12-05 13:50:43 -0500
commitbf26808fb3fd55d74089e4f758aaac77be56f7ea (patch)
treebfb51df786692419ca3e6b78ea02423b6ce25495 /models
parent404867f206f97ec4ea2e6032fea47bc0499d3497 (diff)
downloadgitea-bf26808fb3fd55d74089e4f758aaac77be56f7ea.tar.gz
gitea-bf26808fb3fd55d74089e4f758aaac77be56f7ea.zip
update README
Diffstat (limited to 'models')
-rw-r--r--models/webhook.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/models/webhook.go b/models/webhook.go
index 6d451f4eb6..f58cfbf56f 100644
--- a/models/webhook.go
+++ b/models/webhook.go
@@ -526,6 +526,8 @@ func (t *HookTask) deliver() {
t.Delivered = time.Now().UTC().UnixNano()
if t.IsSucceed {
log.Trace("Hook delivered: %s", t.UUID)
+ } else {
+ log.Trace("Hook delivery failed: %s", t.UUID)
}
// Update webhook last delivery status.