Skip to content

Commit

Permalink
Don't crash the app on http2 garbage
Browse files Browse the repository at this point in the history
  • Loading branch information
sergystepanov committed Nov 28, 2024
1 parent 45dba68 commit b2e275a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/coordinator/coordinator.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ func index(conf config.CoordinatorConfig, log *logger.Logger) httpx.Handler {

handler := func(tpl *template.Template, w httpx.ResponseWriter, r *httpx.Request) {
if err := tpl.Execute(w, tplData); err != nil {
log.Fatal().Err(err).Msg("error with the analytics template file")
log.Error().Err(err).Msg("error with the analytics template file")
}
}

Expand Down

0 comments on commit b2e275a

Please sign in to comment.