RJMetrics / sweet-liberty

A library for building database-backed RESTful services using Clojure
Apache License 2.0
104 stars 6 forks source link

POSTing existing entity does not return 409 CONFLICT, but DbException #15

Open BernhardBln opened 8 years ago

BernhardBln commented 8 years ago

Hi,

when posting a document, and passing on an ID in the document (rather than letting it auto-generate by the DB), I receive a 500 INTERNAL SERVER ERROR and see a stacktrace.

I think the desired behaviour would be a 409 CONFLICT and no stacktrace.