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 83488587 Show error text
83488587 is described below
commit 83488587ec6ced95e8c31be86b99082e0c7ab202
Author: Sebb <[email protected]>
AuthorDate: Thu Apr 25 13:26:12 2024 +0100
Show error text
---
tools/site-scan.rb | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tools/site-scan.rb b/tools/site-scan.rb
index 96d1d2bd..9877fb58 100755
--- a/tools/site-scan.rb
+++ b/tools/site-scan.rb
@@ -169,8 +169,8 @@ def parse(id, site, name, podling=false)
if site2.host == uri.host and site2.path.size > 2
subpages.add site2.to_s
end
- rescue StandardError
- $stderr.puts "#{id}: Bad a_href #{a_href}"
+ rescue StandardError => e
+ $stderr.puts "#{id}: Bad a_href #{a_href} #{e}"
end
end
end