fix: improve error logging in smart album config saving

This commit is contained in:
Prateek Sunal
2025-07-31 17:52:16 +05:30
parent 19e353453b
commit 574cfd5165

View File

@@ -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,
);
}
}