This is an automated email from the ASF dual-hosted git repository.

sebb pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/whimsy.git


The following commit(s) were added to refs/heads/master by this push:
     new 90ca069a Show original page for error case
90ca069a is described below

commit 90ca069af28d2396fb56c56a77eb4e78e190ce86
Author: Sebb <sebb...@users.noreply.github.com>
AuthorDate: Thu Apr 25 09:18:10 2024 +0100

    Show original page for error case
---
 tools/site-scan.rb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/site-scan.rb b/tools/site-scan.rb
index 583d4617..9e2c614d 100755
--- a/tools/site-scan.rb
+++ b/tools/site-scan.rb
@@ -204,7 +204,7 @@ def parse(id, site, name, podling=false)
     subpages.each do |subpage|
       begin
         uri, response, status = $cache.get(subpage)
-        puts "#{id} #{uri} #{status}"
+        puts "#{id} #{subpage} => #{uri} #{status}" # uri might be nil
         if %w{unchanged recent updated}.include? status
           if response =~ 
SiteStandards::PODLING_CHECKS['disclaimer'][SiteStandards::CHECK_CAPTURE]
             hasdisclaimer += 1

Reply via email to