summaryrefslogtreecommitdiffstats
path: root/routers/repo/projects.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/repo/projects.go')
-rw-r--r--routers/repo/projects.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/routers/repo/projects.go b/routers/repo/projects.go
index 07327df9eb..08746aad98 100644
--- a/routers/repo/projects.go
+++ b/routers/repo/projects.go
@@ -355,7 +355,7 @@ func DeleteProjectBoard(ctx *context.Context) {
pb, err := models.GetProjectBoard(ctx.ParamsInt64(":boardID"))
if err != nil {
- ctx.InternalServerError(err)
+ ctx.ServerError("GetProjectBoard", err)
return
}
if pb.ProjectID != ctx.ParamsInt64(":id") {
@@ -445,7 +445,7 @@ func EditProjectBoardTitle(ctx *context.Context, form auth.EditProjectBoardTitle
board, err := models.GetProjectBoard(ctx.ParamsInt64(":boardID"))
if err != nil {
- ctx.InternalServerError(err)
+ ctx.ServerError("GetProjectBoard", err)
return
}
if board.ProjectID != ctx.ParamsInt64(":id") {