forked from alemi/upub
fix: log which target fails in addressing
This commit is contained in:
parent
782c729b4c
commit
f42849ffb0
1 changed files with 2 additions and 2 deletions
|
@ -52,8 +52,8 @@ impl Addresser for crate::Context {
|
||||||
crate::model::actor::Entity::ap_to_internal(target, self.db()).await?,
|
crate::model::actor::Entity::ap_to_internal(target, self.db()).await?,
|
||||||
) {
|
) {
|
||||||
(Some(server), Some(actor)) => (Some(server), Some(actor)),
|
(Some(server), Some(actor)) => (Some(server), Some(actor)),
|
||||||
(None, _) => { tracing::error!("failed resolving domain"); continue; },
|
(None, _) => { tracing::error!("failed resolving domain of {target}"); continue; },
|
||||||
(_, None) => { tracing::error!("failed resolving actor"); continue; },
|
(_, None) => { tracing::error!("failed resolving actor {target}"); continue; },
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
addressing.push(
|
addressing.push(
|
||||||
|
|
Loading…
Reference in a new issue