You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i use get_secret and the secret doesnt exist i would expect an exception to be raised so that I can handle it in my code, however it appears no exception is raised and instead a secret.secret object is returned but with the following data:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi All,
When i use
get_secret
and the secret doesnt exist i would expect an exception to be raised so that I can handle it in my code, however it appears no exception is raised and instead asecret.secret
object is returned but with the following data:Is this a bug or expected? and if its expected how do i say if exists do x else do y
Beta Was this translation helpful? Give feedback.
All reactions