Skip to content
Extraits de code Groupes Projets
Valider b342c81c rédigé par abcang's avatar abcang Validation de Eugen Rochko
Parcourir les fichiers

rescue HTTP::ConnectionError (#3992)

parent ead14f5b
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -20,6 +20,10 @@ class FetchAtomService < BaseService
process_html(fetch(url))
rescue OpenSSL::SSL::SSLError => e
Rails.logger.debug "SSL error: #{e}"
nil
rescue HTTP::ConnectionError => e
Rails.logger.debug "HTTP ConnectionError: #{e}"
nil
end
private
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter