mirror of
https://github.com/astaxie/beego.git
synced 2024-12-22 18:40:49 +00:00
Merge pull request #3743 from Colstuwjx/fix/orm-end-printstack
Fix/orm end printstack
This commit is contained in:
commit
7210dc24b6
@ -18,6 +18,7 @@ import (
|
||||
"fmt"
|
||||
"os"
|
||||
"reflect"
|
||||
"runtime/debug"
|
||||
"strings"
|
||||
)
|
||||
|
||||
@ -298,6 +299,7 @@ func bootStrap() {
|
||||
end:
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
debug.PrintStack()
|
||||
os.Exit(2)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user