summaryrefslogtreecommitdiff
path: root/postgresqleu/adyen/util.py
diff options
context:
space:
mode:
authorMagnus Hagander2015-09-25 08:10:59 +0000
committerMagnus Hagander2015-09-25 08:10:59 +0000
commitf57a8abc2a7e56731459bd81c8430be6082d761d (patch)
treee31cd3072e3ed60a3e11d7d5f940f9e3358fcf2b /postgresqleu/adyen/util.py
parent871eeec5f3207cc5e57c79a97014fa276a0c2014 (diff)
Fix error message substitution
Diffstat (limited to 'postgresqleu/adyen/util.py')
-rw-r--r--postgresqleu/adyen/util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/postgresqleu/adyen/util.py b/postgresqleu/adyen/util.py
index fb1efa75..a2fc3316 100644
--- a/postgresqleu/adyen/util.py
+++ b/postgresqleu/adyen/util.py
@@ -75,7 +75,7 @@ def process_authorization(notification):
raise AdyenProcessingException('Invoice with id %s does not exist' % invoiceid)
def invoice_logger(msg):
- raise AdyenProcessingException('Invoice processing failed: %s', msg)
+ raise AdyenProcessingException('Invoice processing failed: %s' % msg)
manager.process_incoming_payment_for_invoice(invoice, notification.amount, 'Adyen id %s' % notification.pspReference, 0, settings.ACCOUNTING_ADYEN_AUTHORIZED_ACCOUNT, 0, urls, invoice_logger)