Log failures to write to mongo, not exit