You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by el...@apache.org on 2024/03/27 23:31:43 UTC
(superset) branch elizabeth/reduce-error-level created (now f332f10555)
This is an automated email from the ASF dual-hosted git repository.
elizabeth pushed a change to branch elizabeth/reduce-error-level
in repository https://gitbox.apache.org/repos/asf/superset.git
at f332f10555 reduce alert error to warning
This branch includes the following new commits:
new f332f10555 reduce alert error to warning
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
(superset) 01/01: reduce alert error to warning
Posted by el...@apache.org.
This is an automated email from the ASF dual-hosted git repository.
elizabeth pushed a commit to branch elizabeth/reduce-error-level
in repository https://gitbox.apache.org/repos/asf/superset.git
commit f332f105555aa67d292e0fc910d0ff8a169ee99c
Author: Elizabeth Thompson <es...@gmail.com>
AuthorDate: Wed Mar 27 16:31:23 2024 -0700
reduce alert error to warning
---
superset/commands/report/alert.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/superset/commands/report/alert.py b/superset/commands/report/alert.py
index 5604fe0566..0e5d5401f7 100644
--- a/superset/commands/report/alert.py
+++ b/superset/commands/report/alert.py
@@ -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(