Skip to content

Commit 8a30c40

Browse files
committed
re-raise exception object, not string
1 parent 1fa85d5 commit 8a30c40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

dbt/adapters/sqlite/connections.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ def open(cls, connection):
9696
raise FailedToConnectException(str(e))
9797
except Exception as e:
9898
print(f"Unknown error opening SQLite connection: {e}")
99-
raise str(e)
99+
raise e
100100

101101
@classmethod
102102
def get_status(cls, cursor: sqlite3.Cursor):

0 commit comments

Comments
 (0)