Skip to content

Commit

Permalink
Merge pull request #356 from Mause/feature/fix-exceptions-on-bleeding…
Browse files Browse the repository at this point in the history
…-edge

fix: correct dialect error lookup for bleeding edge
  • Loading branch information
kodiakhq[bot] authored Aug 6, 2022
2 parents 949134f + 0e04d02 commit 811c38e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion duckdb_engine/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class DBAPI:
threadsafety = duckdb.threadsafety

# this is being fixed upstream to add a proper exception hierarchy
Error = RuntimeError
Error = getattr(duckdb, "Error", RuntimeError)

@staticmethod
def Binary(x: Any) -> Any:
Expand Down

0 comments on commit 811c38e

Please sign in to comment.