Fixed legacy IPC not handling exceptions thrown by ProfileManager.RemoveTemporaryProfile, changelog text fix
This commit is contained in:
@@ -22,6 +22,7 @@ using CustomizePlus.Armatures.Events;
|
|||||||
using CustomizePlus.Armatures.Data;
|
using CustomizePlus.Armatures.Data;
|
||||||
using CustomizePlus.GameData.Extensions;
|
using CustomizePlus.GameData.Extensions;
|
||||||
using Penumbra.GameData.Interop;
|
using Penumbra.GameData.Interop;
|
||||||
|
using CustomizePlus.Profiles.Exceptions;
|
||||||
|
|
||||||
namespace CustomizePlus.Api.Compatibility;
|
namespace CustomizePlus.Api.Compatibility;
|
||||||
|
|
||||||
@@ -265,7 +266,14 @@ public class CustomizePlusLegacyIpc : IDisposable
|
|||||||
return;
|
return;
|
||||||
}*/
|
}*/
|
||||||
|
|
||||||
_profileManager.RemoveTemporaryProfile(actor);
|
try
|
||||||
|
{
|
||||||
|
_profileManager.RemoveTemporaryProfile(actor);
|
||||||
|
}
|
||||||
|
catch (Exception ex)
|
||||||
|
{
|
||||||
|
_logger.Warning($"[LEGACY IPC DO NOT USE] Unable to revert character. Character: {character?.Name}, exception: {ex}");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
private string GetBase64String(string data)
|
private string GetBase64String(string data)
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ public class CPlusChangeLog
|
|||||||
.RegisterEntry("Selected default profile can no longer be changed if profile set as default is enabled. (2.0.2.1)")
|
.RegisterEntry("Selected default profile can no longer be changed if profile set as default is enabled. (2.0.2.1)")
|
||||||
.RegisterEntry("Profiles can no longer be enabled/disabled while editor is active. (2.0.2.1)")
|
.RegisterEntry("Profiles can no longer be enabled/disabled while editor is active. (2.0.2.1)")
|
||||||
.RegisterEntry("Fixed incorrect warning message priorities in main window. (2.0.2.1)")
|
.RegisterEntry("Fixed incorrect warning message priorities in main window. (2.0.2.1)")
|
||||||
.RegisterEntry("Fixed \"Limit to my creatures\" not ignoring objects other than minions and mounts. (2.0.2.1)")
|
.RegisterEntry("Fixed \"Limit to my creatures\" not ignoring objects other than summons, minions and mounts. (2.0.2.1)")
|
||||||
.RegisterEntry("Fixed text in various places. (2.0.2.1)");
|
.RegisterEntry("Fixed text in various places. (2.0.2.1)");
|
||||||
|
|
||||||
private static void Add2_0_1_0(Changelog log)
|
private static void Add2_0_1_0(Changelog log)
|
||||||
|
|||||||
Reference in New Issue
Block a user