Skip to content

armgit / ente

Public Imported from GitHub
0

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

fix: improve error logging in smart album config saving

Prateek Sunal574cfd5165a7
diff --git a/mobile/apps/photos/lib/ui/collections/album/smart_album_people.dart b/mobile/apps/photos/lib/ui/collections/album/smart_album_people.dart
index 8a8ba2af10..7ee8c8c594 100644
--- a/mobile/apps/photos/lib/ui/collections/album/smart_album_people.dart
+++ b/mobile/apps/photos/lib/ui/collections/album/smart_album_people.dart
@@ -171,12 +171,16 @@ class _SmartAlbumPeopleState extends State<SmartAlbumPeople> {
await dialog.hide();
Navigator.pop(context);
- } catch (e) {
- _logger.severe(e);
+ } catch (error, stackTrace) {
+ _logger.severe(
+ "Error saving smart album config",
+ error,
+ stackTrace,
+ );
await dialog.hide();
await showGenericErrorDialog(
context: context,
- error: e,
+ error: error,
);
}
}