fix(auth): return exception and not throwing it anymore

This commit is contained in:
Hugo Pointcheval 2022-11-11 18:47:59 -05:00
parent d9d0625c67
commit da34acd35b
Signed by: hugo
GPG Key ID: A9E8E9615379254F

View File

@ -132,7 +132,7 @@ class AuthenticationRepositoryImpl<T extends Object>
); );
await dataResult.foldAsync( await dataResult.foldAsync(
_authenticationLocalDataSource.storeData, _authenticationLocalDataSource.storeData,
(error) => throw error, (error) async => error,
); );
} }
return account; return account;