Commit 18bdec95 authored by astaxie's avatar astaxie

fix #1143

parent 9252301f
......@@ -92,7 +92,7 @@ func showErr(err interface{}, ctx *context.Context, Stack string) {
data["Stack"] = Stack
data["BeegoVersion"] = VERSION
data["GoVersion"] = runtime.Version()
ctx.Output.SetStatus(500)
ctx.ResponseWriter.WriteHeader(500)
t.Execute(ctx.ResponseWriter, data)
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment