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

Do not log error for CMK failures in Schema worker #1035

Merged
merged 1 commit into from
Sep 10, 2024

Conversation

jnlycklama
Copy link
Member

Description

The exception first happens here, and is logged as an error

_logger.LogError(sqlEx, "Error from SQL database on upserting InstanceSchema information");

We can see from the logs that later down the line its caught as a CMK error and handled correctly (no failure, log as information) but the error log is distracting to DRI

Related issues

Addresses 125949

Testing

IsCMKError is already tested

Semver Change

Patch|Skip|Feature|Breaking

@jnlycklama jnlycklama merged commit d69c12b into main Sep 10, 2024
4 checks passed
@jnlycklama jnlycklama deleted the personal/julyckla/logErrorCmk branch September 10, 2024 21: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