mirror of
https://github.com/narrrl/proton-stream.git
synced 2026-11-04 08:56:59 +01:00
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:
1 parent
4f130d1d6e
commit
85bc975f5f
3 files changed
+55
-3
No files matched your search
@@ -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");
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user