OpenSearch/modules/transport-netty4/src
Alan Woodward 1cc53b5988
Bad regex in CORS settings should throw a nicer error (#34035)
Currently a bad regex in CORS settings throws a PatternSyntaxException, which
then bubbles up through the bootstrap code, meaning users have to parse a
stack trace to work out where the problem is.  We should instead catch this
exception and rethrow with a more useful error message.
2018-09-27 10:02:29 +01:00
..
main Bad regex in CORS settings should throw a nicer error (#34035) 2018-09-27 10:02:29 +01:00
test Bad regex in CORS settings should throw a nicer error (#34035) 2018-09-27 10:02:29 +01:00