You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: MarkdownLinkCheckLogParser/src/MarkdownLinkCheckLogParserCli/GitHub/Exceptions/GitHubHttpClientException.cs
:base($"Failed to download workflow run logs. Got {(int)statusCode}{statusCode} from {method}{requestUri}.{Environment.NewLine}With response body:{Environment.NewLine}{responseBody}")
Copy file name to clipboardExpand all lines: MarkdownLinkCheckLogParser/tests/MarkdownLinkCheckLogParserCli.Tests/CliCommands/ParseLogCommandDependencyErrorTests.cs
+6-3Lines changed: 6 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -16,7 +16,8 @@ public class ParseLogCommandDependencyErrorTests
varexpectedErrorMessage=@$"An error occurred trying to execute the command to parse the log from a Markdown link check step.
36
37
Error:
37
-
- Failed to download workflow run logs. Got {(int)gitHubHttpClientResponseStatusCode}{gitHubHttpClientResponseStatusCode} from GET https://api.github.com/repos/repo-name/actions/runs/run-id/logs.";
38
+
- Failed to download workflow run logs. Got {(int)gitHubHttpClientResponseStatusCode}{gitHubHttpClientResponseStatusCode} from GET https://api.github.com/repos/repo-name/actions/runs/run-id/logs.
exception.InnerException.Message.ShouldBe($"Failed to download workflow run logs. Got {(int)gitHubHttpClientResponseStatusCode}{gitHubHttpClientResponseStatusCode} from GET https://api.github.com/repos/repo-name/actions/runs/run-id/logs.");
44
+
exception.InnerException.Message.ShouldBe($"Failed to download workflow run logs. Got {(int)gitHubHttpClientResponseStatusCode}{gitHubHttpClientResponseStatusCode} from GET https://api.github.com/repos/repo-name/actions/runs/run-id/logs.{Environment.NewLine}With response body:{Environment.NewLine}{errorResponseBody}");
0 commit comments