at protocol indexer with flexible filtering, xrpc queries, and a cursor-backed event stream, built on fjall
at-protocol atproto indexer rust fjall

[crawler] try getting source error for logs

ptr.pet 6e76fb9e 22121109

verified
+4
+4
src/crawler/mod.rs
··· 55 55 let output: ListReposOutput = match res_result { 56 56 Ok(res) => res.into_output().into_diagnostic()?, 57 57 Err(e) => { 58 + let e = e 59 + .source_err() 60 + .map(|e| e.to_string()) 61 + .unwrap_or_else(|| e.to_string()); 58 62 error!("crawler failed to list repos: {e}. retrying in 30s..."); 59 63 tokio::time::sleep(Duration::from_secs(30)).await; 60 64 continue;