TF-1115 Implement catch exception for HiveAccountDataSource

This commit is contained in:
dab246
2022-10-28 12:58:41 +07:00
committed by Dat H. Pham
parent c4eac83477
commit 4aad1c94ed
7 changed files with 38 additions and 17 deletions
@@ -168,7 +168,9 @@ class MailboxDashBoardBindings extends BaseBindings {
Get.lazyPut(() => MailboxCacheDataSourceImpl(
Get.find<MailboxCacheManager>(),
Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => HiveAccountDatasourceImpl(Get.find<AccountCacheManager>()));
Get.lazyPut(() => HiveAccountDatasourceImpl(
Get.find<AccountCacheManager>(),
Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => AuthenticationOIDCDataSourceImpl(
Get.find<OIDCHttpClient>(),
Get.find<AuthenticationClientBase>(),