mirror of
https://github.com/apache/superset.git
synced 2026-04-19 08:04:53 +00:00
fix(sqllab): log exceptions caused by the user as debug and not error (#10676)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user