Skip to content
This repository was archived by the owner on May 17, 2024. It is now read-only.

Commit dcc70d1

Browse files
committed
catch all
1 parent cfaf435 commit dcc70d1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

data_diff/databases/redshift.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
TIMESTAMP_PRECISION_POS,
2121
PostgresqlDialect,
2222
)
23+
from psycopg2 import errors
2324

2425

2526
@attrs.define(frozen=False)
@@ -175,7 +176,7 @@ def query_table_schema(self, path: DbPath) -> Dict[str, tuple]:
175176
except RuntimeError:
176177
try:
177178
return self.query_pg_get_cols(path)
178-
except RuntimeError:
179+
except Exception:
179180
return self.select_svv_columns_schema(path)
180181

181182
def _normalize_table_path(self, path: DbPath) -> DbPath:

0 commit comments

Comments
 (0)