Skip to content

Commit

Permalink
Update service/http/http.go
Browse files Browse the repository at this point in the history
Co-authored-by: Paulin Todev <[email protected]>
  • Loading branch information
kurczynski and ptodev authored Feb 1, 2024
1 parent 463d4b0 commit 65ab715
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion service/http/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func (s *Service) Run(ctx context.Context, host service.Host) error {

_, err := s.opts.ReloadFunc()
if err != nil {
level.Error(s.log).Log("msg", err.Error())
level.Error(s.log).Log("msg", "failed to reload config", "err", err.Error())
http.Error(w, err.Error(), http.StatusBadRequest)
return
}
Expand Down

0 comments on commit 65ab715

Please sign in to comment.