Logging root cause for ES-exception in search