Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion lib/features/settings/preferences_dialog.dart
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,11 @@ class PreferencesDialogContentState
_historyMax = hist;
_fontSize = font;
});
} catch (_) {}
} catch (error, stackTrace) {
// The dialog stays on its defaults; leave a trace of why (a broken
// settings database, an I/O error) for whoever reads the log (#1637).
debugPrint('PreferencesDialog: could not load the preferences: $error\n$stackTrace');
}
}

Future<void> _setCheckUpdatesOnStartup(bool enabled) async {
Expand Down
Loading