summaryrefslogtreecommitdiffstats
path: root/routers/org/members.go
diff options
context:
space:
mode:
Diffstat (limited to 'routers/org/members.go')
-rw-r--r--routers/org/members.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/routers/org/members.go b/routers/org/members.go
index aa3646d1e0..8a243c87be 100644
--- a/routers/org/members.go
+++ b/routers/org/members.go
@@ -26,7 +26,7 @@ func Members(ctx *context.Context) {
ctx.Data["PageIsOrgMembers"] = true
if err := org.GetMembers(); err != nil {
- ctx.Handle(500, "GetMembers", err)
+ ctx.ServerError("GetMembers", err)
return
}
ctx.Data["Members"] = org.Members