This commit is contained in:
Thorsten Sommer 2025-05-29 15:27:08 +02:00
parent 8adc138427
commit 4514c2359e
Signed by: tsommer
GPG Key ID: 371BBA77A02C0108

View File

@ -153,8 +153,8 @@ public static partial class Pandoc
var response = await client.GetAsync(uri); var response = await client.GetAsync(uri);
if (!response.IsSuccessStatusCode) if (!response.IsSuccessStatusCode)
{ {
await MessageBus.INSTANCE.SendError(new (Icons.Material.Filled.Error, "Pandoc was not installed successfully, because the download archive was not found.")); await MessageBus.INSTANCE.SendError(new (Icons.Material.Filled.Error, "Pandoc was not installed successfully, because the archive was not found."));
LOG.LogError("Pandoc was not installed, the release archive was not found (Status Code {StatusCode}):\n{Uri}\n{Message}", response.StatusCode, uri, response.RequestMessage); LOG.LogError("Pandoc was not installed, the release archive was not found (status code {StatusCode}): url='{Uri}', message='{Message}'", response.StatusCode, uri, response.RequestMessage);
return; return;
} }
@ -176,8 +176,8 @@ public static partial class Pandoc
} }
else else
{ {
await MessageBus.INSTANCE.SendError(new (Icons.Material.Filled.Error, $"Pandoc was not installed successfully, because the download archive type is unknown.")); await MessageBus.INSTANCE.SendError(new (Icons.Material.Filled.Error, "Pandoc was not installed successfully, because the archive type is unknown."));
LOG.LogError("Pandoc was not installed, the download archive is unknown:\n {Uri}", uri); LOG.LogError("Pandoc was not installed, the archive is unknown: url='{Uri}'", uri);
return; return;
} }