------------------------------------------------------------
revno: 1630
committer: Mark Sapiro <m...@msapiro.net>
branch nick: 2.1
timestamp: Sun 2016-03-06 11:01:37 -0800
message:
  Better logging of DMARC lookup DNS exceptions.
modified:
  Mailman/Utils.py


--
lp:mailman/2.1
https://code.launchpad.net/~mailman-coders/mailman/2.1

Your team Mailman Checkins is subscribed to branch lp:mailman/2.1.
To unsubscribe from this branch go to 
https://code.launchpad.net/~mailman-coders/mailman/2.1/+edit-subscription
=== modified file 'Mailman/Utils.py'
--- Mailman/Utils.py	2016-02-27 23:21:12 +0000
+++ Mailman/Utils.py	2016-03-06 19:01:37 +0000
@@ -1267,7 +1267,7 @@
     except DNSException, e:
         syslog('error',
                'DNSException: Unable to query DMARC policy for %s (%s). %s',
-              email, dmarc_domain, e.__class__)
+              email, dmarc_domain, e.__class__.__doc__)
         return 'continue'
     else:
 # people are already being dumb, don't trust them to provide honest DNS

_______________________________________________
Mailman-checkins mailing list
Mailman-checkins@python.org
Unsubscribe: 
https://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to