1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-26 15:01:31 +00:00
This commit is contained in:
astaxie 2015-05-05 21:36:31 +08:00
parent b4880c5e1d
commit 47be2fadb5

View File

@ -92,7 +92,7 @@ func showErr(err interface{}, ctx *context.Context, Stack string) {
data["Stack"] = Stack data["Stack"] = Stack
data["BeegoVersion"] = VERSION data["BeegoVersion"] = VERSION
data["GoVersion"] = runtime.Version() data["GoVersion"] = runtime.Version()
ctx.Output.SetStatus(500) ctx.ResponseWriter.WriteHeader(500)
t.Execute(ctx.ResponseWriter, data) t.Execute(ctx.ResponseWriter, data)
} }