1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-03 03:40:19 +00:00

make golint happy with controller.go

This commit is contained in:
astaxie
2015-09-08 10:43:42 +08:00
parent f28a941e26
commit 61570ac2f7
4 changed files with 80 additions and 86 deletions

View File

@ -863,7 +863,7 @@ Admin:
func (p *ControllerRegister) recoverPanic(context *beecontext.Context) {
if err := recover(); err != nil {
if err == USERSTOPRUN {
if err == ErrAbort {
return
}
if !RecoverPanic {