Skip to content

Commit

Permalink
Add NO_SUCH_BUCKET to filter
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadhamzasajjad committed Feb 12, 2024
1 parent d473f91 commit 11eb373
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cpp/arcticdb/storage/s3/detail-inl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 11eb373

Please sign in to comment.