Skip to content

Commit

Permalink
Imporve LoadPackages error message
Browse files Browse the repository at this point in the history
  • Loading branch information
disconnect3d authored and BarrensZeppelin committed Mar 20, 2023
1 parent 58cb8b4 commit e7b9eed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ func main() {
IncludeTests: opts.IncludeTests(),
}, path)
if err != nil {
log.Println("Failed pkgutil.LoadPackages")
log.Printf("Failed pkgutil.LoadPackages(GoPath=\"%s\", ModulePath=\"%s\", IncludeTests=%v)\n", opts.GoPath(), opts.ModulePath(), opts.IncludeTests())
log.Println(err)
os.Exit(1)
}
Expand Down

0 comments on commit e7b9eed

Please sign in to comment.