Skip to content

Commit

Permalink
feat(inclusion_monitor): fix code block
Browse files Browse the repository at this point in the history
  • Loading branch information
alextes committed Feb 22, 2024
1 parent 18f9cad commit 31717b0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/phoenix/inclusion_monitor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -251,15 +251,15 @@ async fn report_missing_payload(
message.push_str("found publish errors");
for error in publish_errors.iter() {
let error_message = {
let error_message = formatdoc!(
let formatted_error = telegram_escape(error);
formatdoc!(
"
```
{}
```
",
error
);
telegram_escape(&error_message)
formatted_error
)
};
message.push('\n');
message.push_str(&error_message);
Expand Down

0 comments on commit 31717b0

Please sign in to comment.