TF-1115 Implement catch exception for EmailDataSource

This commit is contained in:
dab246
2022-10-28 12:05:53 +07:00
committed by Dat H. Pham
parent da90a2b2fc
commit d4187eec74
9 changed files with 39 additions and 25 deletions
@@ -145,7 +145,9 @@ class MailboxDashBoardBindings extends BaseBindings {
@override
void bindingsDataSourceImpl() {
Get.lazyPut(() => EmailDataSourceImpl(Get.find<EmailAPI>()));
Get.lazyPut(() => EmailDataSourceImpl(
Get.find<EmailAPI>(),
Get.find<RemoteExceptionThrower>()));
Get.lazyPut(() => HtmlDataSourceImpl(
Get.find<HtmlAnalyzer>(),
Get.find<DioClient>()