mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 17:30:56 +00:00
goto bug fixed
This commit is contained in:
parent
8660a54fac
commit
c51bc86d3f
@ -652,7 +652,7 @@ func (p *ControllerRegister) ServeHTTP(rw http.ResponseWriter, r *http.Request)
|
|||||||
if err != nil {
|
if err != nil {
|
||||||
Error(err)
|
Error(err)
|
||||||
exception("503", context)
|
exception("503", context)
|
||||||
return
|
goto Admin
|
||||||
}
|
}
|
||||||
defer func() {
|
defer func() {
|
||||||
if context.Input.CruSession != nil {
|
if context.Input.CruSession != nil {
|
||||||
|
Loading…
Reference in New Issue
Block a user