18bdec95 by astaxie

fix #1143

1 parent 9252301f
Showing 1 changed file with 1 additions and 1 deletions
...@@ -92,7 +92,7 @@ func showErr(err interface{}, ctx *context.Context, Stack string) { ...@@ -92,7 +92,7 @@ func showErr(err interface{}, ctx *context.Context, Stack string) {
92 data["Stack"] = Stack 92 data["Stack"] = Stack
93 data["BeegoVersion"] = VERSION 93 data["BeegoVersion"] = VERSION
94 data["GoVersion"] = runtime.Version() 94 data["GoVersion"] = runtime.Version()
95 ctx.Output.SetStatus(500) 95 ctx.ResponseWriter.WriteHeader(500)
96 t.Execute(ctx.ResponseWriter, data) 96 t.Execute(ctx.ResponseWriter, data)
97 } 97 }
98 98
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!