Revision 567b60df
Added by Marc Dequènes over 14 years ago
- ID 567b60df30b78cda4a2e60a25905406e9bc3b61c
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
[fix] IMAP: removed buggy rescue