Skip to content

Conversation

@ericholscher
Copy link
Member

No description provided.

@ericholscher ericholscher requested a review from a team as a code owner November 11, 2025 17:53
log.exception("Failed when trying to set instance protection.")
# Don't log these as exceptions,
# since there isn't much we can do about it here.
log.info("Failed when trying to set instance protection.")
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's probably worth catching ValidationError/ClientError specifically and not logging that as an exception (or at all), leaving the general exception catch logged as an exception in case there is something we aren't expecting here. We won't pay much attention to this if it's just in logging.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants