Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't log.exception on 404s, noisy when zones are being created #72

Merged
merged 2 commits into from
Nov 12, 2023

Conversation

ross
Copy link
Contributor

@ross ross commented Nov 11, 2023

In testing unrelated stuff locally I noticed that ResourceExceptions are thrown for 404s, i.e. when a zone doesn't exist and needs to be created. That makes for a really noisy and slightly scary log output for a normal use case. This code updates things so that 404s don't log.

/cc #71 @jdickson0296

@ross ross self-assigned this Nov 11, 2023
@jdickson0296
Copy link
Contributor

I see that makes sense, thanks for the update.

@ross ross merged commit 30715d3 into main Nov 12, 2023
7 checks passed
@ross ross deleted the no-exception-log-on-404 branch November 12, 2023 22:41
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.

2 participants