From: Jean-Philippe Lang Date: Wed, 18 Feb 2015 11:35:02 +0000 (+0000) Subject: Merged r13961 (#18922). X-Git-Tag: 2.6.2~5 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=25e68f13f8c2b525d6786fd788896b6c7aa48ccd;p=redmine.git Merged r13961 (#18922). git-svn-id: http://svn.redmine.org/redmine/branches/2.6-stable@14022 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/extra/mail_handler/rdm-mailhandler.rb b/extra/mail_handler/rdm-mailhandler.rb index c55aed21f..36d06cb56 100644 --- a/extra/mail_handler/rdm-mailhandler.rb +++ b/extra/mail_handler/rdm-mailhandler.rb @@ -129,7 +129,7 @@ class RedmineMailHandler debug "Posting to #{uri}..." begin response = Net::HTTPS.post_form(URI.parse(uri), data, headers, :no_check_certificate => no_check_certificate) - rescue SystemCallError => e # connection refused, etc. + rescue SystemCallError, IOError => e # connection refused, etc. warn "An error occured while contacting your Redmine server: #{e.message}" return 75 # temporary failure end