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

Rodrigo Souto gitlab at mg.gitlab.com
Fri Dec 1 14:10:02 BRST 2017


Rodrigo Souto pushed to branch master at Noosfero / noosfero


Commits:
122399d3 by Rodrigo Souto at 2017-12-01T13:09:20-03:00
Revert "lattes_curriculum: update new answer from lattes to unknown curriculum number"

This reverts commit 06a8cfc11f6337d9892cf9e39ea943911251f7ad.

- - - - -


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 Errno::ECONNRESET => e
+		rescue OpenURI::HTTPError => 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/122399d37888597dc1fdbc88d04d9742ffd2bbac

---
View it on GitLab: https://gitlab.com/noosfero/noosfero/commit/122399d37888597dc1fdbc88d04d9742ffd2bbac
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/20171201/50ce91c7/attachment.html>


More information about the Noosfero-dev mailing list