fix: log fetches

This commit is contained in:
əlemi 2024-06-06 19:20:16 +02:00
parent 1bb8df0ac5
commit ec063da763
Signed by: alemi
GPG key ID: A4895B84D311642C

View file

@ -159,6 +159,7 @@ pub trait Fetcher {
#[async_trait::async_trait] #[async_trait::async_trait]
impl Fetcher for crate::Context { impl Fetcher for crate::Context {
async fn pull_r(&self, id: &str, depth: u32) -> Result<Pull<serde_json::Value>, PullError> { async fn pull_r(&self, id: &str, depth: u32) -> Result<Pull<serde_json::Value>, PullError> {
tracing::info!("fetching {id}");
// let _domain = self.fetch_domain(&crate::Context::server(id)).await?; // let _domain = self.fetch_domain(&crate::Context::server(id)).await?;
let document = Self::request( let document = Self::request(