Skip to content

Commit 8b2cd4e

Browse files
committed
Log status code when IDPS fails
1 parent 8021e2b commit 8b2cd4e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Refresher.Core/Accessors/ConsolePatchAccessor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public ConsolePatchAccessor(string remoteIp)
7171

7272
if (!response.IsSuccessStatusCode)
7373
{
74-
State.Logger.LogError(IDPS, "Couldn't fetch the IDPS from the PS3 because of a bad status code.");
74+
State.Logger.LogError(IDPS, $"Couldn't fetch the IDPS from the PS3 because of a bad status code: {response.StatusCode}");
7575
State.Logger.LogDebug(IDPS, response.Content.ReadAsStringAsync().Result);
7676
return null;
7777
}

0 commit comments

Comments
 (0)