mirror of
https://github.com/ppy/osu.git
synced 2026-05-17 11:22:54 +08:00
Merge pull request #35682 from bdach/nom-nom-tasty-exceptions
This commit is contained in:
@@ -228,8 +228,9 @@ namespace osu.Game.Skinning
|
||||
// First attempt to deserialise using the new SkinLayoutInfo format
|
||||
layout = JsonConvert.DeserializeObject<SkinLayoutInfo>(jsonContent);
|
||||
}
|
||||
catch
|
||||
catch (Exception ex)
|
||||
{
|
||||
Logger.Log($"Deserialising skin layout to {nameof(SkinLayoutInfo)} failed. Falling back to {nameof(SerialisedDrawableInfo)}[].\nDetails: {ex}");
|
||||
}
|
||||
|
||||
// If deserialisation using SkinLayoutInfo fails, attempt to deserialise using the old naked list.
|
||||
|
||||
Reference in New Issue
Block a user