Skip to content

Commit 52d5b72

Browse files
committed
codegen: improve debugging in one place
1 parent 1fc49c6 commit 52d5b72

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/codegen/main.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ func validateFiles(f *flags) {
5353

5454
stat, err = os.Stat(f.typedefsJsonpath)
5555
if err != nil || stat.IsDir() {
56-
glg.Fatal("Invalid typedefs json file path")
56+
glg.Fatalf("Invalid typedefs json file path: %s", f.typedefsJsonpath)
5757
}
5858
}
5959

0 commit comments

Comments
 (0)