TF-1115 Implement catch exception for SearchDataSource

This commit is contained in:
dab246
2022-10-28 12:41:12 +07:00
committed by Dat H. Pham
parent 34aa2fe875
commit b4833c4826
2 changed files with 8 additions and 4 deletions
@@ -152,7 +152,9 @@ class MailboxDashBoardBindings extends BaseBindings {
Get.find<HtmlAnalyzer>(),
Get.find<DioClient>(),
Get.find<RemoteExceptionThrower>()));
Get.lazyPut(() => SearchDataSourceImpl(Get.find<RecentSearchCacheClient>()));
Get.lazyPut(() => SearchDataSourceImpl(
Get.find<RecentSearchCacheClient>(),
Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => ThreadDataSourceImpl(
Get.find<ThreadAPI>(),
Get.find<ThreadIsolateWorker>(),