diff options
-rw-r--r-- | http_handle_group_index.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http_handle_group_index.go b/http_handle_group_index.go index 51e4773..22fb548 100644 --- a/http_handle_group_index.go +++ b/http_handle_group_index.go @@ -55,7 +55,7 @@ func httpHandleGroupIndex(w http.ResponseWriter, r *http.Request, params map[str ).Scan(&groupID, &groupDesc) if err == pgx.ErrNoRows { - http.Error(w, "Group not found", http.StatusNotFound) + errorPage404(w, params) return } else if err != nil { http.Error(w, "Error getting group: "+err.Error(), http.StatusInternalServerError) |