Skip to content

Commit

Permalink
Explicitly state which external link failed to validate
Browse files Browse the repository at this point in the history
  • Loading branch information
olivergrabinski committed Apr 3, 2024
1 parent e735986 commit 8e8dc27
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ class ParadoxProcessor(
.statusMessage()} on external link, location redirected to is [${response.header("Location")}]")
} else if (response.statusCode() != 200) {
close()
reportError(s"Error validating external link, status was ${response.statusCode()} ${response.statusMessage()}")
reportError(s"Error validating external link ${capturedLink.link}, status was ${response.statusCode()} ${response.statusMessage()}")
} else {
if (capturedLink.hasFragments) {
validateFragments(url, response.parse(), capturedLink.fragments, errorContext)
Expand Down

0 comments on commit 8e8dc27

Please sign in to comment.