Make getCollectionDataUsageSize call fail gracefully (#434)
This commit is contained in:
parent
87f7dd2230
commit
81fd442fad
|
@ -76,7 +76,7 @@ export const getCollectionUsageSizeInKB = async (databaseName: string, container
|
|||
return dataUsageSizeInKb + indexUsageSizeInKb;
|
||||
} catch (error) {
|
||||
handleError(error, "getCollectionUsageSize");
|
||||
throw error;
|
||||
return undefined;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in New Issue