diff --git a/internal/code-generator/main.go b/internal/code-generator/main.go index e08750f..5eda1da 100644 --- a/internal/code-generator/main.go +++ b/internal/code-generator/main.go @@ -134,7 +134,7 @@ func main() { for _, file := range fileList { if err := file.generate(file.fileToParse, file.samplesDir, file.outPath, file.tmplPath, file.tmplName, file.commit); err != nil { - log.Printf("error generating template %q to %q: %+v", file.tmplPath, file.outPath, err) + log.Fatalf("error generating template %q to %q: %+v", file.tmplPath, file.outPath, err) } } }