From f42849ffb0e57a2017325c61141d10e5d4679352 Mon Sep 17 00:00:00 2001 From: alemi Date: Thu, 6 Jun 2024 02:48:01 +0200 Subject: [PATCH] fix: log which target fails in addressing --- upub/core/src/traits/address.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/upub/core/src/traits/address.rs b/upub/core/src/traits/address.rs index 68dd801b..aff190df 100644 --- a/upub/core/src/traits/address.rs +++ b/upub/core/src/traits/address.rs @@ -52,8 +52,8 @@ impl Addresser for crate::Context { crate::model::actor::Entity::ap_to_internal(target, self.db()).await?, ) { (Some(server), Some(actor)) => (Some(server), Some(actor)), - (None, _) => { tracing::error!("failed resolving domain"); continue; }, - (_, None) => { tracing::error!("failed resolving actor"); continue; }, + (None, _) => { tracing::error!("failed resolving domain of {target}"); continue; }, + (_, None) => { tracing::error!("failed resolving actor {target}"); continue; }, } }; addressing.push(