fix: reduce alert error to warning (#27744)

This commit is contained in:
Elizabeth Thompson 2024-03-27 18:10:22 -07:00 committed by GitHub
parent 9065a4e7d2
commit 70da454bbc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -171,7 +171,7 @@ class AlertCommand(BaseCommand):
logger.warning("A timeout occurred while executing the alert query: %s", ex)
raise AlertQueryTimeout() from ex
except Exception as ex:
logger.exception("An error occurred when running alert query")
logger.warning("An error occurred when running alert query")
# The exception message here can reveal to much information to malicious
# users, so we raise a generic message.
raise AlertQueryError(