diff --git a/src/dispatcher.rs b/src/dispatcher.rs index c11a21c..daa18d9 100644 --- a/src/dispatcher.rs +++ b/src/dispatcher.rs @@ -42,6 +42,8 @@ impl Dispatcher { continue; // go back to top } + tracing::info!("delivering {} to {}", delivery.activity, delivery.target); + let payload = match model::activity::Entity::find_by_id(&delivery.activity) .find_also_related(model::object::Entity) .one(&db) diff --git a/src/fetcher.rs b/src/fetcher.rs index 89ee01d..2ab6fe5 100644 --- a/src/fetcher.rs +++ b/src/fetcher.rs @@ -34,7 +34,7 @@ impl Fetcher { } // TODO sign http fetches, we got the app key and db to get user keys just in case - + tracing::info!("fetching {id}"); let user = reqwest::Client::new() .get(id) .header(USER_AGENT, format!("upub+{VERSION} ({})", self.domain)) // TODO put instance admin email