Skip to content

Commit

Permalink
fix(sqllab): log exceptions caused by the user as debug and not error (
Browse files Browse the repository at this point in the history
  • Loading branch information
nytai authored Aug 25, 2020
1 parent 4b40d44 commit fe574fd
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion superset/sql_lab.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit fe574fd

Please sign in to comment.