Skip to content

Commit

Permalink
marketplace: add logging for user api (PROJQUAY-233) (quay#2513)
Browse files Browse the repository at this point in the history
* add logging for user api
  • Loading branch information
Marcusk19 authored and Sunandadadi committed Jan 15, 2024
1 parent 68efcf7 commit b069cf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions util/marketplace.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ def lookup_customer_id(self, email):

info = json.loads(r.content)
if not info:
logger.debug("request to %s did not return any data", self.user_endpoint)
return None
account_number = info[0]["accountRelationships"][0]["account"].get("ebsAccountNumber")
return account_number
Expand Down

0 comments on commit b069cf3

Please sign in to comment.