TF-1115 Implement catch exception for ThreadDataSource

This commit is contained in:
dab246
2022-10-28 12:31:17 +07:00
committed by Dat H. Pham
parent 6a9f36396b
commit 0e8832f6a3
4 changed files with 28 additions and 10 deletions
@@ -90,7 +90,7 @@ class ThreadBindings extends BaseBindings {
Get.find<ThreadAPI>(),
Get.find<ThreadIsolateWorker>(),
Get.find<RemoteExceptionThrower>()));
Get.lazyPut(() => LocalThreadDataSourceImpl(Get.find<EmailCacheManager>()));
Get.lazyPut(() => LocalThreadDataSourceImpl(Get.find<EmailCacheManager>(), Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => StateDataSourceImpl(Get.find<StateCacheClient>(), Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => EmailDataSourceImpl(
Get.find<EmailAPI>(),