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:44 UTC

(superset) 01/01: reduce alert error to warning

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(