DBZ-8217 fix wrong log message

This commit is contained in:
zalmane 2024-09-08 18:46:58 +03:00 committed by Jiri Pechanec
parent d1c70d64c9
commit 8673a425ff

View File

@ -328,7 +328,7 @@ protected StructGenerator createValueGenerator(Schema schema, TableId tableId, L
result.put(fields[i], value); result.put(fields[i], value);
} }
catch (final Exception e) { catch (final Exception e) {
Column col = columns.get(i); Column col = columnsThatShouldBeAdded.get(i);
String message = "Failed to properly convert data value for '{}.{}' of type {}"; String message = "Failed to properly convert data value for '{}.{}' of type {}";
if (eventConvertingFailureHandlingMode == null) { if (eventConvertingFailureHandlingMode == null) {
Loggings.logErrorAndTraceRecord(LOGGER, row, Loggings.logErrorAndTraceRecord(LOGGER, row,