outbackcdx
outbackcdx copied to clipboard
Better error messages for non-CDX input
e.g. posting the string 'test-integration/test1.cdx' instead of a CDX file (forgetting @ in the curl command-line) currently shows:
$ curl -X POST --data test-integration/test1.cdx http://localhost:8080/myindex
java.lang.ArrayIndexOutOfBoundsException: 1
At line: test-integration/test1.cdx