Log request URL when profile fetcher fails

This commit is contained in:
silverpill 2022-05-02 20:45:38 +00:00
parent 75ef8bba7c
commit 260a3cedb2

View file

@ -69,7 +69,7 @@ pub async fn get_or_import_profile_by_actor_id(
) )
.await .await
.map_err(|err| { .map_err(|err| {
log::warn!("{}", err); log::warn!("failed to fetch {}: {}", actor_id, err);
err err
})?; })?;
log::info!("fetched profile {}", profile_data.acct); log::info!("fetched profile {}", profile_data.acct);