Wrapped call to search index in try - catch to enable a more graceful fail when indexing fails. Replaced the deprecated calls to res.send(yyy, message) to res.status(yyy).send(message)
Merge pull request #48 from mewwts/json-parse

Wrapped call to search index in try - catch to enable a more graceful fa...