This is an automated email from the ASF dual-hosted git repository.

michaelsmolina pushed a commit to branch 4.0
in repository https://gitbox.apache.org/repos/asf/superset.git

commit bb5c0b4086a1732ba3d0fd9e02de2b91b85bf90c
Author: Elizabeth Thompson <[email protected]>
AuthorDate: Wed Mar 27 18:10:22 2024 -0700

    fix: reduce alert error to warning (#27744)
    
    (cherry picked from commit 70da454bbce107c624efda9535f50f7b3ce411b2)
---
 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(

Reply via email to