feat: Add logger service and improve expense dialog with enhanced receipt management and calculation logic.
This commit is contained in:
@@ -117,10 +117,16 @@ class GroupRepository {
|
||||
|
||||
if (memberIds.isNotEmpty) {
|
||||
await _groupsCollection.doc(groupId).update({'memberIds': memberIds});
|
||||
print('Migration réussie pour le groupe $groupId');
|
||||
_errorService.logSuccess(
|
||||
'GroupRepository',
|
||||
'Migration réussie pour le groupe $groupId',
|
||||
);
|
||||
}
|
||||
} catch (e) {
|
||||
print('Erreur de migration pour le groupe $groupId: $e');
|
||||
_errorService.logError(
|
||||
'GroupRepository',
|
||||
'Erreur de migration pour le groupe $groupId: $e',
|
||||
);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user