Describe the feature:
There are a couple of TODOs in the EPM template generation (both index template and component template) code to handle any errors returned from ES
here:
|
// TODO: Check return values for errors |
and here:
|
// TODO: Check return values for errors |
One solution would be to just wrap them in a try/catch and throw a Boom. This may cause installation of the rest of the required packages to fail though.
Describe the feature:
There are a couple of TODOs in the EPM template generation (both index template and component template) code to handle any errors returned from ES
here:
kibana/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/install.ts
Line 275 in 2d0106d
and here:
kibana/x-pack/plugins/ingest_manager/server/services/epm/elasticsearch/template/install.ts
Line 319 in 2d0106d
One solution would be to just wrap them in a
try/catchand throw aBoom. This may cause installation of the rest of the required packages to fail though.