this the first time I had to encounter a situation like this where a try catch block wasn\'t catching errors throwed inside onSnapshot , so I had to use a nested t
onSnapshot