1
0
mirror of https://github.com/astaxie/beego.git synced 2024-12-25 22:40:50 +00:00
This commit is contained in:
astaxie 2014-01-05 15:43:48 +08:00
parent 31bdb793cf
commit 338124e3fb

View File

@ -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)
}