fix(auth): return exception and not throwing it anymore
This commit is contained in:
		
							parent
							
								
									d9d0625c67
								
							
						
					
					
						commit
						da34acd35b
					
				| @ -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; | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user