about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorEugen Rochko <eugen@zeonfederated.com>2016-11-08 18:55:46 +0100
committerEugen Rochko <eugen@zeonfederated.com>2016-11-08 18:55:46 +0100
commit2f21f4cc018806de70d58327daf1bf5529dfc5bd (patch)
treea5974a87da526586e2907abb3d37a43c41b562f0 /app
parent2d69bf4b3a4d8ffd2892f65e732ee2e2c3077418 (diff)
Fix region setting for AWS gem
Diffstat (limited to 'app')
-rw-r--r--app/services/process_feed_service.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/services/process_feed_service.rb b/app/services/process_feed_service.rb
index a051164d3..19a58ee29 100644
--- a/app/services/process_feed_service.rb
+++ b/app/services/process_feed_service.rb
@@ -175,7 +175,8 @@ class ProcessFeedService < BaseService
 
     def url(xml = @xml)
       link = xml.at_xpath('./xmlns:link[@rel="alternate"]')
-      link['href']
+      link['href'] unless link.nil?
+      nil
     end
 
     def content(xml = @xml)