Add missing argument to Fatalf.
This commit is contained in:
@@ -60,7 +60,7 @@ func main() {
|
|||||||
|
|
||||||
rawTemplate, err := ioutil.ReadFile(*dataFile)
|
rawTemplate, err := ioutil.ReadFile(*dataFile)
|
||||||
if err != nil {
|
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))
|
template, err := template.New("").Parse(string(rawTemplate))
|
||||||
|
Reference in New Issue
Block a user