diff options
Diffstat (limited to 'models/webhook.go')
-rw-r--r-- | models/webhook.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/webhook.go b/models/webhook.go index 6413d6edb8..2da88de2a4 100644 --- a/models/webhook.go +++ b/models/webhook.go @@ -634,7 +634,7 @@ func DeliverHooks() { tasks = make([]*HookTask, 0, 5) if err := x.Where("repo_id=? AND is_delivered=?", repoID, false).Find(&tasks); err != nil { - log.Error(4, "Get repository [%d] hook tasks: %v", repoID, err) + log.Error(4, "Get repository [%s] hook tasks: %v", repoID, err) continue } for _, t := range tasks { |