Merge pull request #3743 from Colstuwjx/fix/orm-end-printstack

Fix/orm end printstack
This commit is contained in:
Ming Deng 2020-06-22 23:59:16 +08:00 committed by GitHub
commit 7210dc24b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 0 deletions

View File

@ -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)
}
}