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

+1 -1
View File
@@ -1494,7 +1494,7 @@ impl Engine {
if let Err(error) = self
.catalog
.lock()
.record_crawl_failure(&share_id, &error.to_string())
.record_crawl_failure(&share_id, &error.describe())
{
tracing::warn!(%error, "record a failed crawl");
}