diff --git a/_docs/gen.go b/_docs/gen.go index b38bcc540..cb4dce75f 100644 --- a/_docs/gen.go +++ b/_docs/gen.go @@ -83,7 +83,7 @@ func main() { name := filepath.Base(templatePath) t, err := template.New(name).Funcs(funcs).ParseFiles(templatePath) if err != nil { - panic(err) + log.Fatal(err) } examples := []example{ {Name: "hue"},