summaryrefslogtreecommitdiffstats
path: root/routers/repo/pull.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/pull.go')
-rw-r--r--routers/repo/pull.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/repo/pull.go b/routers/repo/pull.go
index 1594e9a9c4..01c6efaa1d 100644
--- a/routers/repo/pull.go
+++ b/routers/repo/pull.go
@@ -713,11 +713,11 @@ func UpdatePullRequest(ctx *context.Context) {
}
if err := issue.PullRequest.LoadBaseRepo(); err != nil {
- ctx.InternalServerError(err)
+ ctx.ServerError("LoadBaseRepo", err)
return
}
if err := issue.PullRequest.LoadHeadRepo(); err != nil {
- ctx.InternalServerError(err)
+ ctx.ServerError("LoadHeadRepo", err)
return
}