OpenSearch/docs/painless
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
..
painless-api-reference Fix some links in Painless method reference 2017-08-17 10:50:38 -04:00
index.asciidoc Painless Spec Documentation Clean Up (#29441) 2018-04-17 12:16:08 -07:00
painless-api-reference.asciidoc Painless Spec Documentation Clean Up (#29441) 2018-04-17 12:16:08 -07:00
painless-casting.asciidoc Painless: Types Section Clean Up (#30283) 2018-05-23 13:36:58 -07:00
painless-comments.asciidoc Painless: Types Section Clean Up (#30283) 2018-05-23 13:36:58 -07:00
painless-debugging.asciidoc Change ScriptException status to 400 (bad request) (#30861) 2018-05-30 14:00:07 +02:00
painless-description.asciidoc Painless Spec Documentation Clean Up (#29441) 2018-04-17 12:16:08 -07:00
painless-execute-script.asciidoc [DOCS] fixed incorrect default 2018-05-22 10:57:59 +02:00
painless-general-syntax.asciidoc Painless Spec Documentation Clean Up (#29441) 2018-04-17 12:16:08 -07:00
painless-getting-started.asciidoc Added painless execute api. (#29164) 2018-04-19 09:33:34 +02:00
painless-identifiers.asciidoc Painless: Types Section Clean Up (#30283) 2018-05-23 13:36:58 -07:00
painless-keywords.asciidoc Painless: Types Section Clean Up (#30283) 2018-05-23 13:36:58 -07:00
painless-lang-spec.asciidoc Painless: Types Section Clean Up (#30283) 2018-05-23 13:36:58 -07:00
painless-literals.asciidoc Painless: Types Section Clean Up (#30283) 2018-05-23 13:36:58 -07:00
painless-operators.asciidoc Painless: Types Section Clean Up (#30283) 2018-05-23 13:36:58 -07:00
painless-types.asciidoc Painless: Types Section Clean Up (#30283) 2018-05-23 13:36:58 -07:00
painless-variables.asciidoc Painless: Types Section Clean Up (#30283) 2018-05-23 13:36:58 -07:00
painless-xref.asciidoc [DOCS] Setting up separate Painless book. 2017-05-16 12:46:56 -07:00