sup

A curses threads-with-tags style email client

sup.git

git clone https://supmua.dev/git/sup/
commit 7be936cde7b96e535a11e795dc73cc4ddfb51f15
parent fb056c26e34e7f5a75947b4fefe0b514a0696170
Author: wmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Date:   Wed, 20 Dec 2006 19:47:40 +0000

catch both MessageFormatErrors and SourceErrors


git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@92 5c8cc53c-5e98-4d25-b20a-d8db53a31250

Diffstat:
M lib/sup/poll.rb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/sup/poll.rb b/lib/sup/poll.rb
@@ -71,7 +71,7 @@ class PollManager
             total_num += 1
             total_numi += 1 if m.labels.include? :inbox
           end
-        rescue Redwood::MessageFormatError => e
+        rescue SourceError, MessageFormatError => e
           yield "Ignoring erroneous message at #{source}##{offset}: #{e.message}"
         end