Skip to content

Commit

Permalink
feat(inclusion_monitor): escape error message
Browse files Browse the repository at this point in the history
  • Loading branch information
alextes committed Feb 8, 2024
1 parent 014afb9 commit b01f46c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/phoenix/inclusion_monitor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -349,7 +349,11 @@ async fn report_missing_payload(
message.push_str("\n\n");
message.push_str("found publish errors\n");
for error in publish_errors.iter() {
message.push_str(&format!("```{}```\n", error));
let error_message = {
let error_message = format!("```{}```", error);
telegram_escape(&error_message)
};
message.push_str(&error_message);
}
}

Expand Down

0 comments on commit b01f46c

Please sign in to comment.