TF-1115 Implement catch exception for LoginCacheDataSource

This commit is contained in:
dab246
2022-10-28 13:00:23 +07:00
committed by Dat H. Pham
parent 4aad1c94ed
commit ef08949e98
3 changed files with 17 additions and 12 deletions
@@ -102,11 +102,11 @@ class LoginBindings extends BaseBindings {
Get.find<AccountCacheManager>(),
Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => LoginUrlDataSourceImpl(
Get.find<RecentLoginUrlCacheClient>()
));
Get.find<RecentLoginUrlCacheClient>(),
Get.find<CacheExceptionThrower>()));
Get.lazyPut(() => LoginUsernameDataSourceImpl(
Get.find<RecentLoginUsernameCacheClient>()
));
Get.find<RecentLoginUsernameCacheClient>(),
Get.find<CacheExceptionThrower>()));
}
@override