TF-1115 Implement catch exception for StateDataSource

This commit is contained in:
dab246
2022-10-28 12:10:45 +07:00
committed by Dat H. Pham
parent a552b073c1
commit 6a9f36396b
8 changed files with 12 additions and 10 deletions
@@ -76,7 +76,7 @@ class MailboxBindings extends BaseBindings {
Get.lazyPut(() => MailboxCacheDataSourceImpl(
Get.find<MailboxCacheManager>(),
Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => StateDataSourceImpl(Get.find<StateCacheClient>()));
Get.lazyPut(() => StateDataSourceImpl(Get.find<StateCacheClient>(), Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => EmailDataSourceImpl(
Get.find<EmailAPI>(),
Get.find<RemoteExceptionThrower>()));