improved logging

This commit is contained in:
Nils Kruthoff 2026-07-07 15:12:45 +02:00
parent 331b8f3764
commit 6ed4b28ecd
No known key found for this signature in database
GPG Key ID: A5C0151B4DDB172C

View File

@ -686,6 +686,7 @@ public partial class AssistantBuilder : AssistantBaseCore<NoSettingsPanel>
this.pluginCheckResult = result;
if (!result.Success)
{
LOGGER.LogError($"The assistant plugin '{result.PluginName}' ({result.PluginId}) is not installable, because '{result.Issue}'");
this.FailInstallStep(BuilderInstallStep.CHECK_PLUGIN, result.Issue);
await this.MessageBus.SendError(new(Icons.Material.Filled.ReportProblem, T("The generated assistant could not be checked.")));
return;
@ -715,6 +716,7 @@ public partial class AssistantBuilder : AssistantBaseCore<NoSettingsPanel>
this.pluginInstallResult = result;
if (!result.Success)
{
LOGGER.LogError($"The assistant plugin {result.PluginName} ({result.PluginId}) could not be installed in the directory '{result.PluginDirectory}' with Issue: '{result.Issue}'.");
this.FailInstallStep(BuilderInstallStep.INSTALL_ASSISTANT, result.Issue);
await this.MessageBus.SendError(new(Icons.Material.Filled.ReportProblem, T("The assistant could not be installed.")));
return;