[mob][photos] Log index status of user (#3118)
## Description Log ML index status, so in future issues we won't have to ask the user.
This commit is contained in:
@@ -66,6 +66,9 @@ Future<IndexStatus> getIndexStatus() async {
|
||||
final showIndexedFiles = math.min(indexedFiles, indexableFiles);
|
||||
final showPendingFiles = math.max(indexableFiles - indexedFiles, 0);
|
||||
final hasWifiEnabled = await canUseHighBandwidth();
|
||||
_logger.info(
|
||||
"Shown IndexStatus: indexedFiles: $showIndexedFiles, pendingFiles: $showPendingFiles, hasWifiEnabled: $hasWifiEnabled. Real values: indexedFiles: $indexedFiles (faces: $facesIndexedFiles, clip: $clipIndexedFiles), indexableFiles: $indexableFiles",
|
||||
);
|
||||
return IndexStatus(showIndexedFiles, showPendingFiles, hasWifiEnabled);
|
||||
} catch (e, s) {
|
||||
_logger.severe('Error getting ML status', e, s);
|
||||
|
||||
Reference in New Issue
Block a user