Skip to content

Commit

Permalink
Should fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
benmoriceau committed Oct 2, 2023
1 parent d2b3fff commit d503b84
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -396,12 +396,12 @@ private SerializedAirbyteMessageConsumer getStandardRecordConsumer(final BigQuer
});
}
},
() -> {
(hasFailed) -> {
LOGGER.info("Started closing all connections");
final List<Exception> exceptionsThrown = new ArrayList<>();
writeConfigs.get().forEach((streamId, uploader) -> {
try {
uploader.close(false, outputRecordCollector, null);
uploader.close(hasFailed, outputRecordCollector, null);
} catch (final Exception e) {
exceptionsThrown.add(e);
LOGGER.error("Exception while closing uploader {}", uploader, e);
Expand Down

0 comments on commit d503b84

Please sign in to comment.