mirror of
https://github.com/aljazceru/njump.git
synced 2025-12-17 06:14:22 +01:00
error => warn on templ rendering err.
This commit is contained in:
@@ -65,7 +65,7 @@ func renderEmbedded(w http.ResponseWriter, r *http.Request, code string) {
|
||||
}
|
||||
|
||||
if err := component.Render(r.Context(), w); err != nil {
|
||||
log.Error().Err(err).Msg("error rendering tmpl")
|
||||
log.Warn().Err(err).Msg("error rendering tmpl")
|
||||
}
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user