From 3bde2a3ad29ae9d25faed6af99f72293de016620 Mon Sep 17 00:00:00 2001 From: Ken Hayber Date: Tue, 20 Feb 2007 07:44:46 -0800 Subject: [PATCH] Fix handling for missing IMAP Folder or any error when checking IMAP folders. --- imap_check.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/imap_check.py b/imap_check.py index 4aceeb0..fcb0ede 100644 --- a/imap_check.py +++ b/imap_check.py @@ -56,7 +56,9 @@ class IMAPChecker(Checker): else: count = -1 if count == -1: + self.results += " %s (Error)\n" % (folder,) yield None #let someone else run for a while + continue result = im.search(None, "UNSEEN") if result[0] == 'OK': -- 2.11.4.GIT