OpenSearch/plugins/lang-javascript
Jason Tedor 3343ceeae4 Do not catch throwable
Today throughout the codebase, catch throwable is used with reckless
abandon. This is dangerous because the throwable could be a fatal
virtual machine error resulting from an internal error in the JVM, or an
out of memory error or a stack overflow error that leaves the virtual
machine in an unstable and unpredictable state. This commit removes
catch throwable from the codebase and removes the temptation to use it
by modifying listener APIs to receive instances of Exception instead of
the top-level Throwable.

Relates #19231
2016-07-04 08:41:06 -04:00
..
licenses upgrade rhino for plugins/lang-javascript 2015-11-03 09:53:07 -05:00
src Do not catch throwable 2016-07-04 08:41:06 -04:00
build.gradle Changed indexed scripts to be stored in the cluster state instead of the `.scripts` index. 2016-04-22 13:42:55 +02:00