lingo: change log level when payment backend is not found (#56647)
gitea-wip/combo/pipeline/head There was a failure building this commit Details
gitea/combo/pipeline/head Build started... Details

This commit is contained in:
Lauréline Guérin 2021-10-01 10:07:25 +02:00
parent 5c566a3b0d
commit 14b4adc38c
No known key found for this signature in database
GPG Key ID: 1FAB9B9B4F93D473
1 changed files with 1 additions and 1 deletions

View File

@ -630,7 +630,7 @@ class PaymentView(View):
payment_backend = None
if not payment_backend:
logger.warning('lingo: payment backend not found on callback kwargs=%r', kwargs)
logger.error('lingo: payment backend not found on callback kwargs=%r', kwargs)
raise Http404("A payment backend or regie primary key or slug must be specified")
payment = payment_backend.make_eopayment(request=request)