diff --git a/ModShark/Reports/Reporter/WebHooks/DiscordPublisher.cs b/ModShark/Reports/Reporter/WebHooks/DiscordPublisher.cs index 2ca4407..d44b823 100644 --- a/ModShark/Reports/Reporter/WebHooks/DiscordPublisher.cs +++ b/ModShark/Reports/Reporter/WebHooks/DiscordPublisher.cs @@ -52,7 +52,7 @@ public async Task SendReport(WebHook webHook, Report report, CancellationToken s if (response.StatusCode != HttpStatusCode.NoContent) { var details = await response.Content.ReadAsStringAsync(stoppingToken); - logger.LogError("Failed to send WebHook: got HTTP/{code} {details}", response.StatusCode, details); + logger.LogError("Failed to send WebHook: got HTTP/{code} {status} - {details}", (int)response.StatusCode, response.StatusCode, details); break; } }