From 80e699db3213c4ce34c232117a10f8c02f77ad8a Mon Sep 17 00:00:00 2001 From: David Nakabaale Date: Wed, 15 Jan 2025 10:37:53 -0500 Subject: [PATCH] [COST-5796] correctly log exception --- koku/koku/middleware.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koku/koku/middleware.py b/koku/koku/middleware.py index cc5c9ffeaf..ce195ccf5c 100644 --- a/koku/koku/middleware.py +++ b/koku/koku/middleware.py @@ -269,8 +269,8 @@ def create_customer(account, org_id, request_method): msg="IntegrityError when creating customer. Attempting to fetch existing record", account=account, org_id=org_id, - exc_info=err, - ) + ), + exc_info=err, ) customer = Customer.objects.filter(org_id=org_id).get()