Add missing argument to Fatalf.

This commit is contained in:
Sebastian Zagrodzki
2017-11-12 03:21:28 +01:00
parent 5c10dc8f4e
commit 85520e6880

View File

@@ -60,7 +60,7 @@ func main() {
rawTemplate, err := ioutil.ReadFile(*dataFile)
if err != nil {
log.Fatalf("failed to read template %q: %s", *dataFile)
log.Fatalf("failed to read template %q: %s", *dataFile, err)
}
template, err := template.New("").Parse(string(rawTemplate))