Skip to content

fix: Read "404" as object not exist - #13901

Merged
DylanGuedes merged 2 commits into
mainfrom
treat-404-as-not-found
Aug 15, 2024
Merged

fix: Read "404" as object not exist#13901
DylanGuedes merged 2 commits into
mainfrom
treat-404-as-not-found

Conversation

@DylanGuedes

Copy link
Copy Markdown
Contributor

What this PR does / why we need it:
Modify the s3 client to recognize "NotFound" errors when checking if an object error is "NotFound".
I did some tests locally and Head calls to objects that doesn't exist gives a "NotFound" instead of "NoSuchKey".

Which issue(s) this PR fixes:
Fixes #

Special notes for your reviewer:

@DylanGuedes
DylanGuedes requested a review from a team as a code owner August 15, 2024 15:38
@DylanGuedes DylanGuedes changed the title Read "404" as object not exist Aug 15, 2024
@DylanGuedes
DylanGuedes merged commit 3c9c647 into main Aug 15, 2024
@DylanGuedes
DylanGuedes deleted the treat-404-as-not-found branch August 15, 2024 16:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

2 participants