fix(core,android,app): say why a crawl failed, not only which URL

A transport failure's text is reqwest's "error sending request for url
(…)", and the cause sits further down its source chain. Error::describe
appends the causes and drops the URL, so the reason fits on a share row.
This commit is contained in:
nvrl committed 2026-10-13 20:45:14 +02:00
1 parent 4f130d1d6e
commit 85bc975f5f
3 files changed
+55 -3

No files matched your search

+2 -2
View File
@@ -2637,11 +2637,11 @@ impl AndroidEngine {
if let Err(error) = self
.catalog
.lock()
.record_crawl_failure(&id, &error.to_string())
.record_crawl_failure(&id, &error.describe())
{
log::warn!("record a failed crawl: {error}");
}
return Err(BridgeError::from_display(error));
return Err(BridgeError::from_display(error.describe()));
}
};
let rows = build_rows(&id, &nodes);