mirror of
https://github.com/beego/bee.git
synced 2024-11-22 10:10:53 +00:00
output error
This commit is contained in:
parent
f7001294a9
commit
04c0f9d7b4
@ -110,7 +110,7 @@ func parsePackageFromDir(path string) {
|
|||||||
}, parser.ParseComments)
|
}, parser.ParseComments)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ColorLog("[ERRO] the model %s parser.ParseDir error\n", path)
|
ColorLog("[ERRO] the model %s parser.ParseDir error: %s\n", path, err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
for k, v := range folderPkgs {
|
for k, v := range folderPkgs {
|
||||||
@ -357,7 +357,7 @@ func analisyscontrollerPkg(localName, pkgpath string) {
|
|||||||
}, parser.ParseComments)
|
}, parser.ParseComments)
|
||||||
|
|
||||||
if err != nil {
|
if err != nil {
|
||||||
ColorLog("[ERRO] the %s pkg parser.ParseDir error\n", pkgpath)
|
ColorLog("[ERRO] the %s pkg parser.ParseDir error: %s\n", pkgpath, err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
for _, pkg := range astPkgs {
|
for _, pkg := range astPkgs {
|
||||||
|
Loading…
Reference in New Issue
Block a user