π End-to-end encrypted cloud for everything.
Dart 2faandroidauthye2eeencryptionend-to-end-encryptionfluttergolanggoogle-photosgoogle-photos-alternativeiosopensourcephotosprivacyprivacy-toolstypescriptzero-knowledge
Do null check before try block
Neeraj8713dd070735
diff --git a/mobile/apps/photos/lib/core/error-reporting/super_logging.dart b/mobile/apps/photos/lib/core/error-reporting/super_logging.dartindex 533574eff1..bbbe76570a 100644--- a/mobile/apps/photos/lib/core/error-reporting/super_logging.dart+++ b/mobile/apps/photos/lib/core/error-reporting/super_logging.dart@@ -311,9 +311,9 @@ class SuperLogging {printLog(str);saveLogString(str, rec.error);-// Hook for external log viewer (if available)// This allows the log_viewer package to capture logs without creating a dependency+ if(_logViewerCallback != null) {try {if (_logViewerCallback != null) {_logViewerCallback!(rec, config.prefix);@@ -321,6 +321,7 @@ class SuperLogging {} catch (_) {// Silently ignore any errors from the log viewer}+ }}static void saveLogString(String str, Object? error) {