@@ -251,8 +251,7 @@ class MongodbHandler:
self._database[collection_name].insert_one(row)
except Exception as error:
pprint(row)
- print(error)
- break
+ self._log.warning(error)
else:
self._log.log_and_raise_error(('An error occured when trying to insert data into {}, {}. \nError: {}').format(self._database_name, collection_name, error))