diff --git a/superset/config.py b/superset/config.py index 9ed61ad3d1c71..c5d31998739e7 100644 --- a/superset/config.py +++ b/superset/config.py @@ -207,6 +207,7 @@ def _try_json_readsha(filepath: str, length: int) -> str | None: # for example, if you don't want to use a connection pool, uncomment those next 2 lines # from sqlalchemy.pool import NullPool # SQLALCHEMY_ENGINE_OPTIONS = {"poolclass": NullPool} +SQLALCHEMY_ENGINE_OPTIONS = {} # In order to hook up a custom password store for all SQLALCHEMY connections diff --git a/superset/sqllab/sql_json_executer.py b/superset/sqllab/sql_json_executer.py index 0c21410fe0d32..02396fb75dafc 100644 --- a/superset/sqllab/sql_json_executer.py +++ b/superset/sqllab/sql_json_executer.py @@ -102,7 +102,6 @@ def execute( raise except Exception as ex: logger.exception("Query %i failed unexpectedly", query_id) - logger.error(ex) raise SupersetGenericDBErrorException( utils.error_msg_from_exception(ex) ) from ex