Skip to content

Commit 5d6688f

Browse files
fix: pass the full formatted error to the metrics
1 parent 41e3fa2 commit 5d6688f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tycho-integration-test/src/main.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -426,7 +426,7 @@ async fn process_state(
426426
block.header.number,
427427
&token_in.address,
428428
&token_out.address,
429-
e.to_string(),
429+
format_error_chain(&e),
430430
);
431431
continue;
432432
}
@@ -477,7 +477,7 @@ async fn process_state(
477477
&token_in.address,
478478
&token_out.address,
479479
&amount_in,
480-
e.to_string(),
480+
format_error_chain(&e),
481481
);
482482
continue;
483483
}

0 commit comments

Comments
 (0)