whimsical-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From s...@apache.org
Subject [whimsy] branch master updated: Report update failure
Date Thu, 11 Feb 2021 12:38:23 GMT
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 473cc5f  Report update failure
473cc5f is described below

commit 473cc5fbffd37ca971a6f66e791709f1d3e2b6d1
Author: Sebb <sebb@apache.org>
AuthorDate: Thu Feb 11 12:37:21 2021 +0000

    Report update failure
---
 lib/whimsy/asf/documents.rb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/whimsy/asf/documents.rb b/lib/whimsy/asf/documents.rb
index 31e79b3..5a33f7b 100644
--- a/lib/whimsy/asf/documents.rb
+++ b/lib/whimsy/asf/documents.rb
@@ -103,6 +103,8 @@ module ASF
         filerev, svnrev = ASF::SVN.updatelisting(iclas, env.user, env.password, false, cache_dir)
         if filerev && svnrev # it worked
           FileUtils.touch file # last time it was checked
+        else
+          raise IOError.new("Failed to fetch iclas.txt: #{svnrev}")
         end
       end
       @@tag, list = ASF::SVN.getlisting(iclas, @@tag, false, false, cache_dir)


Mime
View raw message