Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Fix build failing

ashilkn6736ad73ecf2
diff --git a/mobile/lib/core/error-reporting/super_logging.dart b/mobile/lib/core/error-reporting/super_logging.dart
index 6659636368..2a677b3fd3 100644
--- a/mobile/lib/core/error-reporting/super_logging.dart
+++ b/mobile/lib/core/error-reporting/super_logging.dart
@@ -17,7 +17,6 @@ import 'package:path_provider/path_provider.dart';
import 'package:photos/core/error-reporting/tunneled_transport.dart';
import "package:photos/core/errors.dart";
import 'package:photos/models/typedefs.dart';
-import "package:photos/services/machine_learning/face_ml/face_ml_exceptions.dart";
import 'package:sentry_flutter/sentry_flutter.dart';
import 'package:shared_preferences/shared_preferences.dart';
@@ -236,8 +235,7 @@ class SuperLogging {
if (error is DioError) {
return;
}
- if (error is CouldNotRetrieveAnyFileData ||
- error is StorageLimitExceededError ||
+ if (error is StorageLimitExceededError ||
error is WiFiUnavailableError ||
error is InvalidFileError ||
error is NoActiveSubscriptionError) {