We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f348c2 commit 475bc73Copy full SHA for 475bc73
Framework/Intersect.Framework.Core/Config/Options.cs
@@ -285,7 +285,15 @@ public static void SaveToDisk()
285
286
public static void LoadFromServer(string data)
287
{
288
- Instance = JsonConvert.DeserializeObject<Options>(data);
+ try
289
+ {
290
+ Instance = JsonConvert.DeserializeObject<Options>(data);
291
+ }
292
+ catch (Exception exception)
293
294
+ ApplicationContext.CurrentContext.Logger.LogError(exception, "Failed to load options from server");
295
+ throw;
296
297
}
298
299
// ReSharper disable once UnusedMember.Global
0 commit comments