π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
prevent file name logging in sentry
laurenspriem38725176e0ce
diff --git a/mobile/apps/photos/lib/services/machine_learning/ml_indexing_isolate.dart b/mobile/apps/photos/lib/services/machine_learning/ml_indexing_isolate.dartindex f9e0d187ab..0d64a2c72c 100644--- a/mobile/apps/photos/lib/services/machine_learning/ml_indexing_isolate.dart+++ b/mobile/apps/photos/lib/services/machine_learning/ml_indexing_isolate.dart@@ -1,7 +1,7 @@import "dart:async";import "dart:io" show Platform;-import "package:flutter/foundation.dart" show debugPrint;+import "package:flutter/foundation.dart" show debugPrint, kDebugMode;import "package:logging/logging.dart";import "package:photos/service_locator.dart"show flagService, isLocalGalleryMode, localSettings;@@ -111,9 +111,11 @@ class MLIndexingIsolate extends SuperIsolate {e,s,);- debugPrint(- "This image with fileID ${instruction.fileKey} has name ${instruction.file.displayName}.",- );+ if (kDebugMode) {+ debugPrint(+ "This image with fileID ${instruction.fileKey} has name ${instruction.file.displayName}.",+ );+ }rethrow;}