diff --git a/internal/setup/base.go b/internal/setup/base.go index a086936af..2fdacf957 100644 --- a/internal/setup/base.go +++ b/internal/setup/base.go @@ -400,6 +400,7 @@ func AddHealthCheck(apiMux *mux.Router, dbConfig ...config.DatabaseOptions) { FirstError: errMsg, }) if err != nil { + logrus.WithError(err).Error("Unable to encode response") resp.WriteHeader(http.StatusInternalServerError) return }