From 338124e3fb3abe31b3d1b2c5d71cd48e4864c08c Mon Sep 17 00:00:00 2001 From: astaxie Date: Sun, 5 Jan 2014 15:43:48 +0800 Subject: [PATCH] fix #443 --- middleware/error.go | 1 + 1 file changed, 1 insertion(+) diff --git a/middleware/error.go b/middleware/error.go index ebfe2288..35d9eb59 100644 --- a/middleware/error.go +++ b/middleware/error.go @@ -71,6 +71,7 @@ func ShowErr(err interface{}, rw http.ResponseWriter, r *http.Request, Stack str data["Stack"] = Stack data["BeegoVersion"] = VERSION data["GoVersion"] = runtime.Version() + rw.WriteHeader(500) t.Execute(rw, data) }