mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2024-12-25 11:18:54 +01:00
Replace panic with log.Fatal
This commit is contained in:
parent
83d129e674
commit
a5b4b605dd
@ -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"},
|
||||
|
Loading…
Reference in New Issue
Block a user