WIP: localization_service refactory

This commit is contained in:
J. A. Messias 2024-10-17 13:19:58 -03:00
parent 977e812827
commit 681d456829
1 changed files with 3 additions and 3 deletions

View File

@ -107,13 +107,13 @@ class LocalizationService {
_updateStorageUtil(response.jsonBody); _updateStorageUtil(response.jsonBody);
return true; return true;
} else { } else {
log('() => error: $error'); log('() => error in processData: $error');
DialogUtil.warningDefault(context).whenComplete(() => selectLocal(context)); DialogUtil.warningDefault(context).whenComplete(() => selectLocal(context));
return false; return false;
} }
} catch (e, s) { } catch (e, s) {
log('() => stack: $s'); log('() => stack processData: $s');
log('() => error: $e', stackTrace: s); log('() => error processData: $e', stackTrace: s);
DialogUtil.warningDefault(context).whenComplete(() => selectLocal(context)); DialogUtil.warningDefault(context).whenComplete(() => selectLocal(context));
return false; return false;
} }