summaryrefslogtreecommitdiffstats
path: root/module/plugins/hooks/Captcha9kw.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/hooks/Captcha9kw.py')
-rwxr-xr-xmodule/plugins/hooks/Captcha9kw.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/module/plugins/hooks/Captcha9kw.py b/module/plugins/hooks/Captcha9kw.py
index 930293002..7bbfa2e73 100755
--- a/module/plugins/hooks/Captcha9kw.py
+++ b/module/plugins/hooks/Captcha9kw.py
@@ -137,9 +137,9 @@ class Captcha9kw(Hook):
self.logInfo(_("Request correct"), response)
except BadHeader, e:
- self.logError(_("Could not send correct request."), e)
+ self.logError(_("Could not send correct request"), repr(e))
else:
- self.logError(_("No CaptchaID for correct request (task %s) found.") % task)
+ self.logError(_("No CaptchaID for correct request (task %s) found") % task)
def captchaInvalid(self, task):
@@ -157,6 +157,6 @@ class Captcha9kw(Hook):
self.logInfo(_("Request refund"), response)
except BadHeader, e:
- self.logError(_("Could not send refund request."), e)
+ self.logError(_("Could not send refund request"), repr(e))
else:
- self.logError(_("No CaptchaID for not correct request (task %s) found.") % task)
+ self.logError(_("No CaptchaID for not correct request (task %s) found") % task)