Skip to content

Commit

Permalink
refactor(inclusion_monitor): prefer character push
Browse files Browse the repository at this point in the history
  • Loading branch information
alextes committed Feb 8, 2024
1 parent 4d4e4a2 commit 873749b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/phoenix/inclusion_monitor/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ async fn report_missing_payload(

let publish_errors = loki_client.error_messages(slot).await?;
if !publish_errors.is_empty() {
message.push_str("\n");
message.push('\n');
message.push_str("found publish errors");
for error in publish_errors.iter() {
let error_message = {
Expand All @@ -257,11 +257,11 @@ async fn report_missing_payload(
);
telegram_escape(&error_message)
};
message.push_str("\n");
message.push('\n');
message.push_str(&error_message);
}
} else {
message.push_str("\n");
message.push('\n');
message.push_str("no publish errors found");
}

Expand Down

0 comments on commit 873749b

Please sign in to comment.