Project

General

Profile

Defect #44765 ยป 0001-Make-rdm-mailhandler.rb-report-a-temporary-failure-o.patch

Go MAEDA, 2026-11-19 12:32

View differences:

extra/mail_handler/rdm-mailhandler.rb
debug "Posting to #{uri}..."
begin
response = Net::HTTPS.post_form(URI.parse(uri), data, headers, :no_check_certificate => no_check_certificate, :certificate_bundle => certificate_bundle)
rescue SystemCallError, IOError => e # connection refused, etc.
rescue => e # connection refused, etc.
warn "An error occurred while contacting your Redmine server: #{e.message}"
return 75 # temporary failure
end
    (1-1/1)