mirror of
https://github.com/pomerium/pomerium.git
synced 2025-08-03 16:59:22 +02:00
errors: use %w verb directive (#419)
Signed-off-by: Bobby DeSimone <bobbydesimone@gmail.com>
This commit is contained in:
parent
74cd9eabbb
commit
12bae5cc43
11 changed files with 32 additions and 32 deletions
|
@ -22,7 +22,7 @@ func PrometheusHandler() (http.Handler, error) {
|
|||
Registry: reg,
|
||||
})
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("telemetry/metrics: prometheus exporter: %v", err)
|
||||
return nil, fmt.Errorf("telemetry/metrics: prometheus exporter: %w", err)
|
||||
}
|
||||
view.RegisterExporter(exporter)
|
||||
mux := http.NewServeMux()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue