From fe574fdaa71d0fc651c642f3de6c1698172a3672 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=CA=88=E1=B5=83=E1=B5=A2?= Date: Tue, 25 Aug 2020 14:35:50 -0700 Subject: [PATCH] fix(sqllab): log exceptions caused by the user as debug and not error (#10676) --- superset/sql_lab.py | 1 - 1 file changed, 1 deletion(-) diff --git a/superset/sql_lab.py b/superset/sql_lab.py index 8c3f24fc57ef9..09be5e86fa0de 100644 --- a/superset/sql_lab.py +++ b/superset/sql_lab.py @@ -183,7 +183,6 @@ def get_sql_results( # pylint: disable=too-many-arguments log_params=log_params, ) except Exception as ex: # pylint: disable=broad-except - logger.error("Query %d", query_id) logger.debug("Query %d: %s", query_id, ex) stats_logger.incr("error_sqllab_unhandled") query = get_query(query_id, session)