diff --git a/payment.py b/payment.py index 6bf815d211..8b1e7036b8 100644 --- a/payment.py +++ b/payment.py @@ -563,7 +563,7 @@ class Account(ModelSQL, ModelView): ('stripe_charge_id', '=', charge['id']), ]) if not payments: - logger.error(": No payment '%s'", _event, charge['id']) + logger.error("%s: No payment '%s'", _event, charge['id']) for payment in payments: # TODO: remove when https://bugs.tryton.org/issue4080 with Transaction().set_context(company=payment.company.id):