Remove null warning
Remove null warning

We were logging the contents of the field `error` immediately after
testing that it must be null.

winterstein/elasticsearch-java-client,winterstein/elasticsearch-java-client,winterstein/elasticsearch-java-client