Fix error message for state index creation

Original commit: elastic/x-pack-elasticsearch@cd36db071e
This commit is contained in:
David Roberts 2017-01-04 13:31:03 +00:00
parent 567153d73a
commit a816ee27bb
1 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ public class JobProvider {
}
});
} catch (IOException e) {
} catch (Exception e) {
LOGGER.warn("Error creating the usage metering index", e);
}
}
@ -299,7 +299,7 @@ public class JobProvider {
}
});
} catch (Exception e) {
LOGGER.warn("Error creating the usage metering index", e);
LOGGER.error("Error creating the " + AnomalyDetectorsIndex.jobStateIndexName() + " index", e);
}
}