[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [flashproxy/master] Change a print into a log.



commit 0329e7a7a33edc0152542355a8167c9595fd5b7f
Author: David Fifield <david@xxxxxxxxxxxxxxx>
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()



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits