Verified Commit 4ca74070 authored by Leonidas Spyropoulos's avatar Leonidas Spyropoulos
Browse files

chore: errors when don't implement Display trait, instead a formatter provided by std::fmt::Debug

parent ba073512
Pipeline #20757 passed with stages
in 2 minutes and 19 seconds
......@@ -352,7 +352,7 @@ async fn metrics_handler() -> Result<impl Reply, Rejection> {
let mut buffer = Vec::new();
if let Err(e) = encoder.encode(&REGISTRY.gather(), &mut buffer) {
error!("could not encode custom metrics: {}", e);
error!("could not encode custom metrics: {:?}", e);
let res = match String::from_utf8(buffer.clone()) {
Ok(v) => v,
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment