From 0ae1f8c3208f227449f8f8eb0a01db87305fb083 Mon Sep 17 00:00:00 2001 From: Shane Curcuru Date: Fri, 16 Feb 2024 10:31:18 -0500 Subject: [PATCH] Nokogiri error dumps make GH build barf See site build errors: https://github.com/Punderthings/fossfoundation/actions/runs/7931429175 --- assets/ruby/sponsor_utils.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/assets/ruby/sponsor_utils.rb b/assets/ruby/sponsor_utils.rb index b405308..9115364 100644 --- a/assets/ruby/sponsor_utils.rb +++ b/assets/ruby/sponsor_utils.rb @@ -78,7 +78,7 @@ def scrape_bycss(io, sponsorship) end end rescue StandardError => e - sponsors[lvl] << "ERROR: scrape_bycss(...#{lvl}): #{e.message}\n\n#{e.backtrace.join("\n\t")}" + sponsors[lvl] << "ERROR: scrape_bycss(...#{lvl}, ... #{lvldata['selector']})" # Leaving Nokigiri error may cause GH Pages build issues end end return sponsors