Stop using/throwing boom errors in the NP elasticsearch service #57458
Labels
Feature:Legacy Removal
Issues related to removing legacy Kibana
Feature:New Platform
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
ATM, any error thrown by the ES client/service is a wrapped boom error
kibana/src/core/server/elasticsearch/errors.ts
Lines 30 to 32 in 01ac90f
This made sense in the legacy platform, however in NP we are discouraging usage of boom errors in favor of manual error handling (mostly in the route handlers). We should return non-boom, specialised errors instead.
The text was updated successfully, but these errors were encountered: