Skip to content

Commit b2e275a

Browse files
committed
Don't crash the app on http2 garbage
1 parent 45dba68 commit b2e275a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/coordinator/coordinator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ func index(conf config.CoordinatorConfig, log *logger.Logger) httpx.Handler {
7979

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

0 commit comments

Comments
 (0)