diff options
author | Unknwon <u@gogs.io> | 2015-12-30 21:29:30 -0500 |
---|---|---|
committer | Unknwon <u@gogs.io> | 2015-12-30 21:29:30 -0500 |
commit | a62290de52b5258b8f301c2f56ff84aa96e5f6d2 (patch) | |
tree | 558028d3e2096d72a63180a0445af8c1e22da742 /cmd | |
parent | 8d58e06ad850bc4e01371d286e8923c55b5b2d1a (diff) | |
download | gitea-a62290de52b5258b8f301c2f56ff84aa96e5f6d2.tar.gz gitea-a62290de52b5258b8f301c2f56ff84aa96e5f6d2.zip |
#2311 improve HTTP auth error message
Diffstat (limited to 'cmd')
-rw-r--r-- | cmd/serve.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/serve.go b/cmd/serve.go index 7a24fc2597..d8e77dcd50 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: [key_id: %d, repo_id: %d]", key.ID, repo.ID) + fail("Key access denied", "Deploy key access denied: [key_id: %d, repo_id: %d]", key.ID, repo.ID) } // Update deploy key activity. |