From 11eb37384098b4611c030357dabbe03732e2db8a Mon Sep 17 00:00:00 2001 From: Muhammad Hamza Sajjad Date: Mon, 12 Feb 2024 18:56:33 +0000 Subject: [PATCH] Add NO_SUCH_BUCKET to filter --- cpp/arcticdb/storage/s3/detail-inl.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/arcticdb/storage/s3/detail-inl.hpp b/cpp/arcticdb/storage/s3/detail-inl.hpp index 07fdb7e18a..2c29c0142a 100644 --- a/cpp/arcticdb/storage/s3/detail-inl.hpp +++ b/cpp/arcticdb/storage/s3/detail-inl.hpp @@ -91,7 +91,7 @@ namespace s3 { } inline bool is_expected_error_type(Aws::S3::S3Errors err) { - return err == Aws::S3::S3Errors::NO_SUCH_KEY || err == Aws::S3::S3Errors::RESOURCE_NOT_FOUND; + return err == Aws::S3::S3Errors::NO_SUCH_KEY || err == Aws::S3::S3Errors::RESOURCE_NOT_FOUND || err == Aws::S3::S3Errors::NO_SUCH_BUCKET; } inline void raise_if_unexpected_error(const Aws::S3::S3Error& err) {