Fix another misuse of ParameterizedMessage

Original commit: elastic/x-pack-elasticsearch@9e36900432
This commit is contained in:
David Roberts 2016-12-08 17:32:59 +00:00
parent 3f460b030e
commit 256ab7f3e2
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ class NativeAutodetectProcess implements AutodetectProcess {
try (CppLogMessageHandler h = cppLogHandler) {
h.tailStream();
} catch (IOException e) {
LOGGER.error(new ParameterizedMessage("[{}] Error tailing C++ process logs", new Object[] { jobId }, e));
LOGGER.error(new ParameterizedMessage("[{}] Error tailing C++ process logs", new Object[] { jobId }), e);
}
});
}