fix(PluginManager): return if any step of plugin update failed

This commit is contained in:
goat 2021-07-15 04:18:17 +02:00
parent 0cb0bff714
commit ba27dbe783
No known key found for this signature in database
GPG key ID: F18F057873895461

View file

@ -657,6 +657,7 @@ namespace Dalamud.Plugin.Internal
{
Log.Error(ex, "Error during unload (update)");
updateStatus.WasUpdated = false;
return updateStatus;
}
}
@ -669,6 +670,7 @@ namespace Dalamud.Plugin.Internal
{
Log.Error(ex, "Error during disable (update)");
updateStatus.WasUpdated = false;
return updateStatus;
}
try
@ -679,6 +681,7 @@ namespace Dalamud.Plugin.Internal
{
Log.Error(ex, "Error during install (update)");
updateStatus.WasUpdated = false;
return updateStatus;
}
}