markhobson / penguin

A virtual penguin queue.
0 stars 2 forks source link

Handle database errors in MongoDB data layer #17

Open markhobson opened 11 years ago

markhobson commented 11 years ago

We currently ignore database errors from MongoDB in our data layer. This is bad, we should provide suitable feedback to the caller, propagating up to the resource and a suitable response code.