[ML] Added cause to exception.
Relates to elastic/x-pack-elasticsearch#990 Original commit: elastic/x-pack-elasticsearch@a66bc958b7
This commit is contained in:
parent
97866eb0e8
commit
5585283216
|
@ -148,10 +148,9 @@ class NativeAutodetectProcess implements AutodetectProcess {
|
||||||
}
|
}
|
||||||
LOGGER.debug("[{}] Autodetect process exited", jobId);
|
LOGGER.debug("[{}] Autodetect process exited", jobId);
|
||||||
} catch (ExecutionException | TimeoutException e) {
|
} catch (ExecutionException | TimeoutException e) {
|
||||||
LOGGER.warn(new ParameterizedMessage("[{}] Exception closing the running autodetect process",
|
LOGGER.warn(new ParameterizedMessage("[{}] Exception closing the running autodetect process", jobId), e);
|
||||||
new Object[] { jobId }), e);
|
|
||||||
} catch (InterruptedException e) {
|
} catch (InterruptedException e) {
|
||||||
LOGGER.warn("[{}] Exception closing the running autodetect process", jobId);
|
LOGGER.warn(new ParameterizedMessage("[{}] Exception closing the running autodetect process", jobId), e);
|
||||||
Thread.currentThread().interrupt();
|
Thread.currentThread().interrupt();
|
||||||
} finally {
|
} finally {
|
||||||
deleteAssociatedFiles();
|
deleteAssociatedFiles();
|
||||||
|
|
Loading…
Reference in New Issue