From 969734b3a8019ab672cba04a5412d1a02004f19c Mon Sep 17 00:00:00 2001 From: Benjamin De Boe Date: Tue, 10 Oct 2023 13:50:12 +0200 Subject: [PATCH] Fix error name typo change FailedToConnectException to FailedToConnectError (cf https://github.com/dbt-labs/dbt-core/blob/main/core/dbt/exceptions.py) --- dbt/adapters/iris/connections.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dbt/adapters/iris/connections.py b/dbt/adapters/iris/connections.py index 4389a32..cf70251 100644 --- a/dbt/adapters/iris/connections.py +++ b/dbt/adapters/iris/connections.py @@ -104,7 +104,7 @@ def open(cls, connection): connection.handle = dbapi.connect(**kwargs) connection.state = "open" except Exception as e: - raise dbt.exceptions.FailedToConnectException(str(e)) + raise dbt.exceptions.FailedToConnectError(str(e)) return connection