Additional info on why getBucketTagging throw an exception when there is no tag on a bucket? #4341
Unanswered
thiagosanches
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, I'm curious about it... I was trying to use the
getBucketTagging
function in anasync/await
manner and had end up to use something like this to handle the exception that is being thrown when a tag doesn't exist for a specific bucket:I know that documentation mentioned this:

But am I missing something to use in a more
async/await
way?For other scenarios I was able to perform what I wanted:
Thank you guys!
Beta Was this translation helpful? Give feedback.
All reactions