You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@attic.apache.org by se...@apache.org on 2025/10/01 08:29:25 UTC

(attic) branch main updated: Detect missing wiki names

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

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


The following commit(s) were added to refs/heads/main by this push:
     new 9bc00df  Detect missing wiki names
9bc00df is described below

commit 9bc00dff9aabd348eb5a94d781cee04964fbea93
Author: Sebb <se...@users.noreply.github.com>
AuthorDate: Wed Oct 1 09:29:21 2025 +0100

    Detect missing wiki names
---
 retire.rb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/retire.rb b/retire.rb
index e535669..f084642 100755
--- a/retire.rb
+++ b/retire.rb
@@ -224,5 +224,8 @@ end
 if __FILE__ == $0
   JIRAS = get_json(JIRA)
   WIKIS = get_json(CWIKI_INFO, 'results')
+  if WIKIS.nil?
+    raise IOError.new "Failed to fetch WIKI names - is the Wiki down?"
+  end
   main
 end