summaryrefslogtreecommitdiffstats
path: root/extra/mail_handler
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mail_handler')
-rw-r--r--extra/mail_handler/rdm-mailhandler.rb2
1 files changed, 1 insertions, 1 deletions
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