sq: error parity

This commit is contained in:
Vlad Lazar
2024-04-19 12:16:18 +01:00
parent dc2c6367af
commit 761f211f55

View File

@@ -970,11 +970,9 @@ impl Timeline {
return Err(GetVectoredError::MissingKey(key))
}
Err(Other(err))
if err.chain().any(|cause| {
cause
.to_string()
.contains("downloading evicted layer failed")
}) =>
if err
.to_string()
.contains("downloading evicted layer file failed") =>
{
return Err(GetVectoredError::Other(err))
}