diff --git a/prometheus.go b/prometheus.go index 410f319..d2e11fd 100644 --- a/prometheus.go +++ b/prometheus.go @@ -60,7 +60,7 @@ func New(o Options) (*Exporter, error) { options: o, gatherer: o.Registry, collector: collector, - handler: promhttp.HandlerFor(o.Registry, promhttp.HandlerOpts{}), + handler: promhttp.HandlerFor(o.Registry, promhttp.HandlerOpts{ErrorHandling: promhttp.ContinueOnError}), } return exp, nil }