Please look at following code, if await getDocs failed how to get to exception? This code currently will never get to exception.
try{
const q = query(collection(firestoredb, "lists"), where("user", "==", "testID"));
const querySnapshot = await getDocs(q);
let data = [];
querySnapshot.forEach((doc) => {
data.push(doc.data());
});
}catch(e){
console.log(e);
}