DataDog/dd-agent — pull request #1065 by igroenewold (2014-08-01 13:22:59+00:00)
Title: add logging of serverStatus errors

The current code does not check if db.serverStatus() returns an error (e.g. insufficient privileges). If that is the case, no message is logged anywhere, so user has no clue why metrics are not being posted. I propose to log a warning with the error message.