mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 11:00:55 +00:00
fix #1143
This commit is contained in:
parent
9252301fa0
commit
18bdec951d
2
error.go
2
error.go
@ -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)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user