From fba3a97a24794c11ff1bcbdcc0555d7d47b9874c Mon Sep 17 00:00:00 2001 From: Tobie Morgan Hitchcock Date: Fri, 10 Feb 2017 19:55:46 +0000 Subject: [PATCH] Improve HTTP 500 error message --- web/err.go | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/web/err.go b/web/err.go index 96e6d621..83008757 100644 --- a/web/err.go +++ b/web/err.go @@ -137,7 +137,9 @@ var errs = map[int]*err{ }, 500: { - Code: 500, - Details: "There was a problem with our servers, and we have been notified", + Code: 500, + Details: "Internal server error", + Description: "There was a problem with our servers, and we have been notified.", + }, }, }