Fix logger formatting in webhook_charge_succeeded
This commit is contained in:
1 parent
8eb08bfeac
commit
8d896ad3ba
1 file changed
+1
-1
+1
-1
@@ -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):
|
||||
|
||||
Reference in new issue
Block a user