fix use of incorrect macro

This commit is contained in:
glyph 2022-10-02 17:32:52 +01:00
parent 504ca08076
commit 61f0883841
1 changed files with 1 additions and 1 deletions

View File

@ -292,7 +292,7 @@ pub async fn follow_if_not_following(remote_peer: &str) -> Result<(), String> {
Ok(())
}
Err(e) => {
let err_msg = warn!("Failed to follow peer {}: {}", &remote_peer, e);
let err_msg = format!("Failed to follow peer {}: {}", &remote_peer, e);
warn!("{}", err_msg);
Err(err_msg)