OpenSearch/qa/smoke-test-ingest-with-all-.../src/test
Christoph Büscher 1ea9f11b03
Change ScriptException status to 400 (bad request) (#30861)
Currently failures to compile a script usually lead to a ScriptException, which
inherits the 500 INTERNAL_SERVER_ERROR from ElasticsearchException if it does
not contain another root cause. Instead, this should be a 400 Bad Request error.
This PR changes this more generally for script compilation errors by changing 
ScriptException to return 400 (bad request) as status code.

Closes #12315
2018-05-30 14:00:07 +02:00
..
java/org/elasticsearch Remove legacy mapping code. (#29224) 2018-04-11 09:41:37 +02:00
resources Change ScriptException status to 400 (bad request) (#30861) 2018-05-30 14:00:07 +02:00