Skip to content

Commit e2de2ff

Browse files
authored
Merge pull request #977: [beam] do not use String.format for logging errors in ProximaIO
2 parents f2317a3 + ec865cf commit e2de2ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

beam/core/src/main/java/cz/o2/proxima/beam/io/ProximaIO.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ public void processElement(@Element StreamElement element) {
160160
(succ, error) -> {
161161
writeResult.complete(Pair.of(succ, error));
162162
if (error != null) {
163-
log.error(String.format("Unable to write element [%s].", element), error);
163+
log.error("Unable to write element [{}]", element, error);
164164
}
165165
});
166166
});

0 commit comments

Comments
 (0)