Skip to content

Commit

Permalink
Small return isse
Browse files Browse the repository at this point in the history
  • Loading branch information
dlpzx committed Sep 12, 2024
1 parent 590909b commit 84dcfea
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ def get_key_alias(self, alias_name):
return alias['AliasName']
except ClientError as e:
if e.response['Error']['Code'] == 'NotFoundException':
return False, False
return False
else:
raise Exception(f'Error getting key alias for {alias_name}: {e}')

Expand Down

0 comments on commit 84dcfea

Please sign in to comment.