[Git][noosfero/noosfero][master] lattes_curriculum: update new answer from lattes to unknown curriculum number

Rodrigo Souto gitlab at mg.gitlab.com
Tue Nov 28 16:26:22 BRST 2017


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
06a8cfc1 by Rodrigo Souto at 2017-11-28T15:26:04-03:00
lattes_curriculum: update new answer from lattes to unknown curriculum number

- - - - -


1 changed file:

- plugins/lattes_curriculum/lib/html_parser.rb


Changes:

=====================================
plugins/lattes_curriculum/lib/html_parser.rb
=====================================
--- a/plugins/lattes_curriculum/lib/html_parser.rb
+++ b/plugins/lattes_curriculum/lib/html_parser.rb
@@ -14,7 +14,7 @@ class Html_parser
       page = remove_select(page)
       page = remove_footer(page)
       page = remove_further_informations(page)
-		rescue OpenURI::HTTPError => e
+		rescue Errno::ECONNRESET => e
       page = _("Lattes not found. Please, make sure the informed URL is correct.")
     rescue Timeout::Error => e
       page = _("Lattes Platform is unreachable. Please, try it later.")



View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/06a8cfc11f6337d9892cf9e39ea943911251f7ad

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/06a8cfc11f6337d9892cf9e39ea943911251f7ad
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listas.softwarelivre.org/pipermail/noosfero-dev/attachments/20171128/12dac621/attachment.html>


More information about the Noosfero-dev mailing list