Fix 500 errors on searching invalid URLs (#3613)

This commit is contained in:
unarist
2017-06-06 23:44:48 +09:00
committed by Eugen Rochko
parent 004672aa6c
commit e34c5a3503
2 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@ class FetchRemoteResourceService < BaseService
def call(url)
@url = url
process_url unless atom_url.nil?
process_url unless fetched_atom_feed.nil?
end
private