You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@whimsical.apache.org by ru...@apache.org on 2017/10/24 13:40:59 UTC

[whimsy] branch master updated: log and recover from JIRA errors

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

rubys 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 f2abada  log and recover from JIRA errors
f2abada is described below

commit f2abada4297f94b8107085db50fbc3acb77b1ddf
Author: Sam Ruby <ru...@intertwingly.net>
AuthorDate: Tue Oct 24 09:40:48 2017 -0400

    log and recover from JIRA errors
---
 lib/whimsy/asf/podling.rb | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/lib/whimsy/asf/podling.rb b/lib/whimsy/asf/podling.rb
index 1d97d4d..3669294 100644
--- a/lib/whimsy/asf/podling.rb
+++ b/lib/whimsy/asf/podling.rb
@@ -354,7 +354,11 @@ module ASF
         query = 'https://issues.apache.org/jira/rest/api/2/search?' +
             'maxResults=1000&' +
             'jql=project=PODLINGNAMESEARCH&fields=summary,resolution,customfield_12310520'
-        File.write cache, Net::HTTP.get(URI(query))
+        begin
+          File.write cache, Net::HTTP.get(URI(query))
+        rescue => e
+          Wunderbar.warn "ASF::Podling.namesearch: " + e.message
+        end
       end
 
       # parse JIRA titles for proposed name

-- 
To stop receiving notification emails like this one, please contact
['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].