nautobot-app-secrets-providers icon indicating copy to clipboard operation
nautobot-app-secrets-providers copied to clipboard

Fix/issue64 - added fallthrough in error handling

Open mathiaswegner opened this issue 1 year ago • 1 comments

The boto3 call to get the secret value is wrapped in a try/except. The except block has a switch statement to raise different exceptions based on the error content. There was no fallthrough for the switch, so errors that were not explicitly defined were masked behind a subsequent error about the secret_value being referenced before it was assigned.

mathiaswegner avatar May 16 '24 15:05 mathiaswegner

CI is failing unrelated to your changes, we need to bring in the fix from https://github.com/nautobot/cookiecutter-nautobot-app/pull/111.

glennmatthews avatar May 20 '24 13:05 glennmatthews