commit 0329e7a7a33edc0152542355a8167c9595fd5b7f Author: David Fifield david@bamsoftware.com Date: Sun Sep 23 09:02:09 2012 -0700
Change a print into a log. --- facilitator/facilitator-email-poller | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/facilitator/facilitator-email-poller b/facilitator/facilitator-email-poller index ff3997c..7930a76 100755 --- a/facilitator/facilitator-email-poller +++ b/facilitator/facilitator-email-poller @@ -255,7 +255,7 @@ def imap_loop(imap): msg = email.message_from_string(data[0][1]) handle_message(msg) except Exception, e: - print >> sys.stderr, "Error processing message, deleting anyway:", e + log("Error processing message, deleting anyway: %s", str(e))
imap.store(1, "+FLAGS", "\Deleted") imap.expunge()