From bc7cc458b8179922c9598a7cd560ee684baee17d Mon Sep 17 00:00:00 2001 From: thivy Date: Tue, 3 Oct 2023 14:03:55 +1100 Subject: [PATCH] add reject error --- src/features/common/cosmos.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/features/common/cosmos.ts b/src/features/common/cosmos.ts index 8d5bad6df..8389e28ec 100644 --- a/src/features/common/cosmos.ts +++ b/src/features/common/cosmos.ts @@ -51,6 +51,9 @@ export class CosmosDBContainer { .then((containerResponse) => { resolve(containerResponse.container); }); + }) + .catch((err) => { + reject(err); }); }); }