豆豆友情提示:这是一个非官方 GitHub 代理镜像,主要用于网络测试或访问加速。请勿在此进行登录、注册或处理任何敏感信息。进行这些操作请务必访问官方网站 github.com。 Raw 内容也通过此代理提供。
Skip to content

Commit 70da454

Browse files
authored
fix: reduce alert error to warning (#27744)
1 parent 9065a4e commit 70da454

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

superset/commands/report/alert.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ def _execute_query(self) -> pd.DataFrame:
171171
logger.warning("A timeout occurred while executing the alert query: %s", ex)
172172
raise AlertQueryTimeout() from ex
173173
except Exception as ex:
174-
logger.exception("An error occurred when running alert query")
174+
logger.warning("An error occurred when running alert query")
175175
# The exception message here can reveal to much information to malicious
176176
# users, so we raise a generic message.
177177
raise AlertQueryError(

0 commit comments

Comments
 (0)