added errorhandling to reading the source in the MongoDBReporter