summaryrefslogtreecommitdiffstats
path: root/cmd/serve.go
diff options
context:
space:
mode:
authorUnknwon <u@gogs.io>2015-12-25 05:25:47 -0500
committerUnknwon <u@gogs.io>2015-12-25 05:25:47 -0500
commit85af36332b89a42152c7e2b76af5e2aeb048103a (patch)
treef1eabbd273416ecf34125183c1df994b2b0ca578 /cmd/serve.go
parent13fe73303726d74356a5d94bad7556802c2900a4 (diff)
downloadgitea-85af36332b89a42152c7e2b76af5e2aeb048103a.tar.gz
gitea-85af36332b89a42152c7e2b76af5e2aeb048103a.zip
#2282 fix utf-8 recognized as windows-1252
Diffstat (limited to 'cmd/serve.go')
-rw-r--r--cmd/serve.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/serve.go b/cmd/serve.go
index 69ee9b7b1d..7a24fc2597 100644
--- a/cmd/serve.go
+++ b/cmd/serve.go
@@ -209,7 +209,7 @@ func runServ(c *cli.Context) {
}
// Check if this deploy key belongs to current repository.
if !models.HasDeployKey(key.ID, repo.ID) {
- fail("Key access denied", "Key access denied: %d-%d", key.ID, repo.ID)
+ fail("Key access denied", "Key access denied: [key_id: %d, repo_id: %d]", key.ID, repo.ID)
}
// Update deploy key activity.