Do not wrap SO errors in Boom #72441
Labels
enhancement
New value added to drive a business result
Team:Core
Core services & architecture: plugins, logging, config, saved objects, http, ES client, i18n, etc
SavedObjects client wraps ES errors in Boom. https://github.com/elastic/kibana/blob/master/src/core/server/saved_objects/service/lib/decorate_es_error.ts
We already have
SavedObjectsErrorHelpers
that encapsulates that knowledge. In theory, it should simplify the cleanup, although, we need to inspect solution code to make sure Boom-specific API is not used.The text was updated successfully, but these errors were encountered: