throw error so that caller can avoid doing localDB update

This commit is contained in:
Abhinav 2023-02-01 09:50:09 +05:30
parent 82e9451bee
commit 36fda1ae1d

View file

@ -238,7 +238,8 @@ export const getCollection = async (
);
return collectionWithSecrets;
} catch (e) {
logError(e, 'failed to get collection', { collectionID });
logError(e, 'failed to get collection');
throw e;
}
};