Skip to content

Commit

Permalink
add reject error
Browse files Browse the repository at this point in the history
  • Loading branch information
thivy committed Oct 3, 2023
1 parent c473210 commit bc7cc45
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/features/common/cosmos.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@ export class CosmosDBContainer {
.then((containerResponse) => {
resolve(containerResponse.container);
});
})
.catch((err) => {
reject(err);
});
});
}
Expand Down

0 comments on commit bc7cc45

Please sign in to comment.