diff options
Diffstat (limited to 'modules/templates/dynamic.go')
-rw-r--r-- | modules/templates/dynamic.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/modules/templates/dynamic.go b/modules/templates/dynamic.go index fde58a4a70..c6c47a6c88 100644 --- a/modules/templates/dynamic.go +++ b/modules/templates/dynamic.go @@ -71,7 +71,6 @@ func Mailer() (*texttmpl.Template, *template.Template) { } content, err := os.ReadFile(path.Join(staticDir, filePath)) - if err != nil { log.Warn("Failed to read static %s template. %v", filePath, err) continue @@ -100,7 +99,6 @@ func Mailer() (*texttmpl.Template, *template.Template) { } content, err := os.ReadFile(path.Join(customDir, filePath)) - if err != nil { log.Warn("Failed to read custom %s template. %v", filePath, err) continue |