Skip to content

Commit

Permalink
Revert "feat: support new types from 0.23 (druid-io#290)" (druid-io#295)
Browse files Browse the repository at this point in the history
This reverts commit 74c631f.
  • Loading branch information
betodealmeida authored Nov 2, 2022
1 parent 74c631f commit 3d39d7f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pydruid/db/sqlalchemy.py
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,8 @@ def do_ping(self, dbapi_connection) -> bool:
Return if the database can be reached.
"""
try:
dbapi_connection.execute(text("SELECT 1"))
except Exception as ex:
dbapi_connection.execute("SELECT 1")
except Exception:
return False

return True
Expand Down

0 comments on commit 3d39d7f

Please sign in to comment.