thrownewMicroserviceApiException("Error when calling Elasticsearch API to delete events for particular instance (ID: "+trainingInstanceId+")",ex.getApiSubError());
}
}
/**
* Obtain events from elasticsearch for particular training run
*
* @param trainingRun thee training run whose events to obtain.
* @throws MicroserviceApiException error with specific message when calling elasticsearch microservice.
thrownewMicroserviceApiException("Error when calling Elasticsearch API to delete events for particular training run (ID: "+trainingRunId+")",ex.getApiSubError());
thrownewMicroserviceApiException("Error when calling Elasticsearch API to delete bash commands for particular pool (ID: "+poolId+")",ex.getApiSubError());