@@ -129,7 +129,7 class RedmineMailHandler | |||||
129 | debug "Posting to #{uri}..." |
|
129 | debug "Posting to #{uri}..." | |
130 | begin |
|
130 | begin | |
131 | response = Net::HTTPS.post_form(URI.parse(uri), data, headers, :no_check_certificate => no_check_certificate) |
|
131 | response = Net::HTTPS.post_form(URI.parse(uri), data, headers, :no_check_certificate => no_check_certificate) | |
132 | rescue SystemCallError => e # connection refused, etc. |
|
132 | rescue SystemCallError, IOError => e # connection refused, etc. | |
133 | warn "An error occured while contacting your Redmine server: #{e.message}" |
|
133 | warn "An error occured while contacting your Redmine server: #{e.message}" | |
134 | return 75 # temporary failure |
|
134 | return 75 # temporary failure | |
135 | end |
|
135 | end |
General Comments 0
You need to be logged in to leave comments.
Login now