Project

General

Profile

« Previous | Next » 

Revision 567b60df

Added by Marc Dequènes almost 14 years ago

  • ID 567b60df30b78cda4a2e60a25905406e9bc3b61c

[fix] IMAP: removed buggy rescue

View differences:

lib/cyborghood/imap.rb
rescue SocketError, Errno::EPIPE, Errno::ECONNREFUSED, Errno::ETIMEDOUT, Errno::ENETUNREACH => e
logger.warn "Network error: " + e.message.strip
sleep_time = @min_check_interval
rescue
raise CyberError.new(:unrecoverable, "protocol/imap", e.message)
end
# wait before new check either if the IMAP server does not support IDLE mode

Also available in: Unified diff