es-wp-query icon indicating copy to clipboard operation
es-wp-query copied to clipboard

Allow `ES_WP_Query::query_es()` to return a WP_Error

Open mboynes opened this issue 6 years ago • 0 comments

If ES_WP_Query::query_es() (in an adapter) encounters an error, it should be able to communicate that to the wrapper. As of now, doing so wouldn't cause any issues due to proper return value validation, but it would be good to explicitly catch errors in the wrapper.

mboynes avatar Jul 16 '18 15:07 mboynes