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 <[email protected]>
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)