relay: add post_url to debug output

This commit is contained in:
Astro 2022-12-20 03:57:31 +01:00
parent ce5add113f
commit a3847e20b2

View file

@ -118,7 +118,7 @@ pub fn spawn(
let body_ = body.clone(); let body_ = body.clone();
let key_id = actor.key_id(); let key_id = actor.key_id();
let private_key_ = private_key.clone(); let private_key_ = private_key.clone();
tracing::debug!("relay {} to {}", actor_id, inbox); tracing::debug!("relay {} from {} to {}", &post_url, actor_id, inbox);
tokio::spawn(async move { tokio::spawn(async move {
increment_counter!("relay", "target" => inbox.clone()); increment_counter!("relay", "target" => inbox.clone());
if let Err(e) = send::send_raw( if let Err(e) = send::send_raw(