diff --git a/app/assets.go b/app/assets.go index ffc3384..8b63178 100644 --- a/app/assets.go +++ b/app/assets.go @@ -46,9 +46,9 @@ func (a *App) getTemplates() fs.FS { _, err := os.ReadDir(a.templatesPath) if err != nil { if errors.Is(err, os.ErrNotExist) { - a.Logger().Error("templates dir does not exist") + a.Logger().Errorf("templates dir '%s' does not exist", a.templatesPath) } else if errors.Is(err, os.ErrPermission) { - a.Logger().Error("templates dir is not accessible, check permissions") + a.Logger().Errorf("templates dir '%s' is not accessible, check permissions", a.templatesPath) } panic(err)