sensu/sensu — pull request #776 by coffeepac (2014-08-28 23:00:42+00:00)
Title: Guard corrupted json

This PR adds a guard against the messages coming from the rabbit broker. It is possible, and has been happening to me in production, that in between the client sending metric data and it getting to sensu-server it is getting corrupted. This is a transmission error but since there's no way to fix the network or the message I'm choosing to log the error and let the message go.

Added the rescue to the client daemon as well for consistency.