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