elasticsearch/elasticsearch — pull request #2011 by nlalevee (2012-06-08 09:59:02+00:00)
Title: Better print error message on native script error

When there's an error on elasticsearch side, in some native script for instance, there is no explanation at all of the error, there is just an empty "nested: ".
I patched ExceptionsHelper so at least a classname is printed, so "nested: " won't be empty.
I patched CustomScoreQueryParser so it can state that the culprit of the error is the load of the script.