Do not propagate exceptions from Mongo.
The types changed to UIO, as there are no failures so far, only defects.
If the Mongo is not running or fails to connect fails to decode -
these are not the things we would
process, only bubble up and report.
1 parent 99dbd15 commit dc193c7009c14164a54717dfb68edbeef7dbfbd6
Michal Příhoda authored on 21 Feb 2023
Showing 1 changed file
View
mongo/src/main/scala/works/iterative/mongo/MongoJsonRepository.scala