OpenSearch/x-pack/qa/smoke-test-watcher
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
..
src/test Change ScriptException status to 400 (bad request) (#30861) 2018-05-30 14:00:07 +02:00
build.gradle Watcher: Fold two smoke test projects into smoke-test-watcher (#30137) 2018-04-26 09:23:54 +02:00