throw error so that caller can avoid doing localDB update
This commit is contained in:
parent
82e9451bee
commit
36fda1ae1d
|
@ -238,7 +238,8 @@ export const getCollection = async (
|
||||||
);
|
);
|
||||||
return collectionWithSecrets;
|
return collectionWithSecrets;
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
logError(e, 'failed to get collection', { collectionID });
|
logError(e, 'failed to get collection');
|
||||||
|
throw e;
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue