Fix error message for state index creation
Original commit: elastic/x-pack-elasticsearch@cd36db071e
This commit is contained in:
parent
567153d73a
commit
a816ee27bb
|
@ -149,7 +149,7 @@ public class JobProvider {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
} catch (IOException e) {
|
} catch (Exception e) {
|
||||||
LOGGER.warn("Error creating the usage metering index", e);
|
LOGGER.warn("Error creating the usage metering index", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -299,7 +299,7 @@ public class JobProvider {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
LOGGER.warn("Error creating the usage metering index", e);
|
LOGGER.error("Error creating the " + AnomalyDetectorsIndex.jobStateIndexName() + " index", e);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue