exposing elasticsearch exceptions