outbackcdx icon indicating copy to clipboard operation
outbackcdx copied to clipboard

Better error messages for non-CDX input

Open ato opened this issue 9 years ago • 0 comments

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

ato avatar Dec 01 '16 01:12 ato