sq: error parity

This commit is contained in:
Vlad Lazar
2024-04-19 10:32:45 +01:00
parent a65f067799
commit dc2c6367af

View File

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