mirror of
https://github.com/apache/superset.git
synced 2026-04-07 18:35:15 +00:00
chore: enable ruff lint rule TRY201 and B904 to improve raise stack traces (#29166)
This commit is contained in:
committed by
GitHub
parent
5167d20f27
commit
4bb2e2f8af
@@ -138,7 +138,7 @@ class PrestoDBSQLValidator(BaseSQLValidator):
|
||||
)
|
||||
except Exception as ex:
|
||||
logger.exception("Unexpected error running validation query: %s", str(ex))
|
||||
raise ex
|
||||
raise
|
||||
|
||||
@classmethod
|
||||
def validate(
|
||||
|
||||
Reference in New Issue
Block a user