marklogic/Corona — Issue #49: More robust error handling on insert
Author: crichey
Created: 2011-11-20 20:31:15+00:00
State: open

If you do a put to store with no body in the request, the request eventually times out as the code has errored out on the server. FOr example, posting to /store?uri=foo.xml with no body provides the following stack trace on the server. On the client the request just times out.

I have witnessed this type of poor error handling in other places as well, such as posting invalid fields to a search request. I think that the error handling in general should be reviewed.