Skip to content

armgit / ente

Public Imported from GitHub
0

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

[mob][photos] Keep incorrect password errors out of Sentry

r4khul699cbb4b8fbb
diff --git a/mobile/apps/photos/lib/core/errors.dart b/mobile/apps/photos/lib/core/errors.dart
index cdd9fa3b7f..43a17f6536 100644
--- a/mobile/apps/photos/lib/core/errors.dart
+++ b/mobile/apps/photos/lib/core/errors.dart
@@ -89,7 +89,7 @@ class InvalidStateError extends AssertionError {
class SrpSetupNotCompleteError extends Error {}
-class IncorrectPasswordError implements Exception {
+class IncorrectPasswordError implements Exception, LocallyHandledError {
@override
String toString() => "Incorrect password";
}