Fixes the filename and lineNo in debug log message

This commit is contained in:
Faissal Elamraoui
2016-11-14 18:02:29 +01:00
committed by Faissal Elamraoui
parent c3c264ddb5
commit deacdaa667
9 changed files with 27 additions and 17 deletions

View File

@ -954,7 +954,7 @@ func getPackagePath(curpath string) (packpath string) {
logger.Fatal("GOPATH environment variable is not set or empty")
}
logger.Debugf("GOPATH: %s", gopath)
logger.Debugf("GOPATH: %s", __FILE__(), __LINE__(), gopath)
appsrcpath := ""
haspath := false