commit 9eead59a75c43973e679909ad56d9c1f8e3c54c9
parent 4a1059c9bc45afd0693be7866dda4fa79d1d7c45
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date: Fri, 6 Apr 2007 19:33:27 +0000
added SSL errors to the list of shit we have to catch
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@379 5c8cc53c-5e98-4d25-b20a-d8db53a31250
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lib/sup/imap.rb b/lib/sup/imap.rb
@@ -240,8 +240,8 @@ private
end
raise
end
- rescue SocketError, Net::IMAP::Error, SystemCallError, IOError => e
- raise FatalSourceError, "While communicating with IMAP server: #{e.message}"
+ rescue SocketError, Net::IMAP::Error, SystemCallError, IOError, OpenSSL::SSL::SSLError => e
+ raise FatalSourceError, "While communicating with IMAP server (type #{e.class.name}): #{e.message}"
end
end