Skip to content

Commit

Permalink
possible fix for #131
Browse files Browse the repository at this point in the history
  • Loading branch information
Orbmu2k committed Mar 26, 2023
1 parent 3c74a9b commit 8b6c132
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion nspector/Common/Helper/UserSettings.cs
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,14 @@ public static UserSettings LoadSettings()
var filename = GetSettingsFilename();
if (!File.Exists(filename)) return new UserSettings();

return XMLHelper<UserSettings>.DeserializeFromXMLFile(GetSettingsFilename());
try
{
return XMLHelper<UserSettings>.DeserializeFromXMLFile(GetSettingsFilename());
}

This comment has been minimized.

Copy link
@maticooool

maticooool Apr 7, 2024

hi

catch
{
return new UserSettings();
}
}
}
}

0 comments on commit 8b6c132

Please sign in to comment.