From 0ac4d303456ecbddac03037fc8378bb16a449949 Mon Sep 17 00:00:00 2001 From: Brian Simpson Date: Wed, 30 Apr 2014 15:21:46 -0400 Subject: [PATCH] authorize: Don't include request in exception. This could leak information into our logs. --- r2/r2/lib/authorize/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r2/r2/lib/authorize/api.py b/r2/r2/lib/authorize/api.py index f870d0eca..2fa8b4a70 100644 --- a/r2/r2/lib/authorize/api.py +++ b/r2/r2/lib/authorize/api.py @@ -278,7 +278,7 @@ class AuthorizeNetRequest(SimpleXMLObject): def process_error(self, res): - msg = "Response %r from request %r" % (res, self.toXML()) + msg = "Response %r" % res raise AuthorizeNetException(msg) _autoclose_re = re.compile("<([^/]+)/>")