1
0
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:
Dean Herbert
2025-11-14 19:36:09 +09:00
committed by GitHub
Unverified
+2 -1
View File
@@ -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.