[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [gettor/master] Fix error and call backs in email message responder
commit 3a4cfabba53967b6047518ae759123168673d6d4
Author: hiro <hiro@xxxxxxxxxxxxxx>
Date: Wed Oct 16 13:10:44 2019 +0200
Fix error and call backs in email message responder
---
gettor/services/twitter/twitterdm.py | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/gettor/services/twitter/twitterdm.py b/gettor/services/twitter/twitterdm.py
index e67610b..33dd495 100644
--- a/gettor/services/twitter/twitterdm.py
+++ b/gettor/services/twitter/twitterdm.py
@@ -93,8 +93,7 @@ class Twitterdm(object):
time.sleeps(30)
else:
- raise RuntimeError as e:
- log.info("Error sending message: {}.".format(e))
+ raise RuntimeError("Error sending message: (%s)" % str(e))
return post_data
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits