DBZ-3769 Remove TODO and change log message level

This commit is contained in:
Chris Cranford 2021-07-26 11:15:12 -04:00 committed by Jiri Pechanec
parent 9e9c2fc2ab
commit 9f5c49246f

View File

@ -338,9 +338,8 @@ private List<io.debezium.relational.Column> getTableColumnsFromDatabase(Postgres
}
}
catch (SQLException e) {
LOGGER.warn("Failed to read column metadata for '{}.{}'", tableId.schema(), tableId.table());
LOGGER.error("Failed to read column metadata for '{}.{}'", tableId.schema(), tableId.table());
throw e;
// todo: DBZ-766 Should this throw the exception or just log the warning?
}
return readColumns;