1
0
Fork 0
forked from alemi/upub

fix: log which target fails in addressing

This commit is contained in:
əlemi 2024-06-06 02:48:01 +02:00
parent 782c729b4c
commit f42849ffb0
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -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(