diff options
Diffstat (limited to 'routers/repo/http.go')
-rw-r--r-- | routers/repo/http.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/repo/http.go b/routers/repo/http.go index b385a13a..e1cc5f96 100644 --- a/routers/repo/http.go +++ b/routers/repo/http.go @@ -66,7 +66,7 @@ func HTTPContexter() macaron.Handler { repo, err := models.GetRepositoryByName(owner.ID, repoName) if err != nil { - ctx.NotFoundOrServerError("GetRepositoryByName", models.IsErrRepoNotExist, err) + ctx.NotFoundOrServerError("GetRepositoryByName", errors.IsRepoNotExist, err) return } |