fixed home handle error
This commit is contained in:
@@ -176,7 +176,7 @@ class NetworkManager {
|
||||
final result = fromJson(res.data);
|
||||
appLogger.info('✅ Response parsed successfully');
|
||||
return Result.ok(result);
|
||||
} on Exception catch (e) {
|
||||
} catch (e) {
|
||||
appLogger.error('❌ Failed to parse response: $e');
|
||||
return Result.error(
|
||||
FetchDataException(
|
||||
|
||||
Reference in New Issue
Block a user