Skip to content

Commit

Permalink
fix: reduce alert error to warning (#27744)
Browse files Browse the repository at this point in the history
(cherry picked from commit 70da454)
  • Loading branch information
eschutho authored and michael-s-molina committed Mar 28, 2024
1 parent 2fa1b35 commit bb5c0b4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion superset/commands/report/alert.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def _execute_query(self) -> pd.DataFrame:
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(
Expand Down

0 comments on commit bb5c0b4

Please sign in to comment.