fix(auth): return exception and not throwing it anymore
This commit is contained in:
+1
-1
@@ -132,7 +132,7 @@ class AuthenticationRepositoryImpl<T extends Object>
|
||||
);
|
||||
await dataResult.foldAsync(
|
||||
_authenticationLocalDataSource.storeData,
|
||||
(error) => throw error,
|
||||
(error) async => error,
|
||||
);
|
||||
}
|
||||
return account;
|
||||
|
||||
Reference in New Issue
Block a user