Skip to content

armgit / ente

Public Imported from GitHub
0

πŸ’š End-to-end encrypted cloud for everything.

[mob][photos] Temp fix for double assigned persons

laurenspriem92bafa7c384b
diff --git a/mobile/lib/services/search_service.dart b/mobile/lib/services/search_service.dart
index 5e21b03345..1ff73dbc89 100644
--- a/mobile/lib/services/search_service.dart
+++ b/mobile/lib/services/search_service.dart
@@ -848,8 +848,9 @@ class SearchService {
final String clusterName = "$clusterId";
if (clusterIDToPersonID[clusterId] != null) {
- throw Exception(
- "Cluster $clusterId should not have person id ${clusterIDToPersonID[clusterId]}",
+ // This should not happen, means a faceID is assigned to multiple persons.
+ _logger.severe(
+ "`getAllFace`: Cluster $clusterId should not have person id ${clusterIDToPersonID[clusterId]}",
);
}
if (files.length < kMinimumClusterSizeSearchResult &&