mirror of
https://github.com/apache/superset.git
synced 2026-06-05 07:39:19 +00:00
fix: reduce alert error to warning (#27744)
This commit is contained in:
committed by
GitHub
parent
9065a4e7d2
commit
70da454bbc
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user