Silence a JSHint warning.
Add an error message if we cannot connect to Mongo.