-
Alfredo Di Napoli authored
For some strange reason `insertDocs` was implemented with a contrived mechanism to insert data, build a map with some hashes and retrieve the information later. This refactoring should technically achieve the same but without the complication. We now have an `insertDoc` function that can be used to insert single documents, so that we can catch exceptions coming from the database and act accordingly.