"dbt run" when Teradata database is offline is resulting in following exception which seems to be not correct.
raise dbt_common.exceptions.FailedToConnectError(str(e))
Instead it should be:
raise dbt.adapters.exceptions.FailedToConnectError(str(e))
Steps To Reproduce
dbt run by shutting down the database
Expected behavior
Connection error should be wrapped correctly into dbt.adapters.exceptions and no further exception should be thrown from dbt.
Screenshots and log output
If applicable, add screenshots or log output to help explain your problem.
The output of dbt --version:
12:54:03 oracle adapter: Running in thin mode
Core:
- installed: 1.8.4
- latest: 1.8.4 - Up to date!
Plugins:
- teradata: 1.8.0 - Up to date!
Describe the bug
"dbt run" when Teradata database is offline is resulting in following exception which seems to be not correct.
raise dbt_common.exceptions.FailedToConnectError(str(e))
Instead it should be:raise dbt.adapters.exceptions.FailedToConnectError(str(e))
Steps To Reproduce
dbt run by shutting down the database
Expected behavior
Connection error should be wrapped correctly into dbt.adapters.exceptions and no further exception should be thrown from dbt.
Screenshots and log output
If applicable, add screenshots or log output to help explain your problem.
The output of
dbt --version
:The operating system you're using: Mac/Linux
The output of
python --version
: Python 3.10.9