This commit is contained in:
Mubelotix
2025-07-01 15:03:20 +02:00
parent b7bebe9bbb
commit 9211e94c4f

View File

@ -75,7 +75,9 @@ impl IndexScheduler {
});
let index_exists = match response {
Ok(response) => response.status() == 200,
Err(Error::FromRemoteWhenExporting { code, .. }) if code == "index_not_found" => false,
Err(Error::FromRemoteWhenExporting { code, .. }) if code == "index_not_found" => {
false
}
Err(e) => return Err(e),
};