mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-05 02:36:19 +02:00
[Settings]Better errors when failing to backup (#26762)
* [Settings] settings.json files broken error is updated. * [Settings] Related optional messages added to error logs * Update src/settings-ui/Settings.UI/Strings/en-us/Resources.resw
This commit is contained in:
@@ -191,7 +191,7 @@ namespace Microsoft.PowerToys.Settings.UI.Library
|
||||
/// <summary>
|
||||
/// Method <c>BackupSettings</c> Mostly a wrapper for SettingsBackupAndRestoreUtils.BackupSettings
|
||||
/// </summary>
|
||||
public static (bool Success, string Message, string Severity, bool LastBackupExists) BackupSettings()
|
||||
public static (bool Success, string Message, string Severity, bool LastBackupExists, string OptionalMessage) BackupSettings()
|
||||
{
|
||||
var settingsBackupAndRestoreUtilsX = SettingsBackupAndRestoreUtils.Instance;
|
||||
var settingsUtils = new SettingsUtils();
|
||||
|
||||
Reference in New Issue
Block a user