Add more debug statements

This commit is contained in:
Mark Veidemanis 2023-04-22 18:49:56 +01:00
parent 8ad0f0573f
commit bd4b3a8567
Signed by: m
GPG Key ID: 5ACFCEED46C0904F
1 changed files with 2 additions and 0 deletions

View File

@ -648,6 +648,7 @@ class LocalPlatformClient(ABC):
if (asset, countrycode, currency, provider) not in our_ads: if (asset, countrycode, currency, provider) not in our_ads:
print("NOT IN OUR ADS", asset, countrycode, currency, provider) print("NOT IN OUR ADS", asset, countrycode, currency, provider)
if currency not in supported_currencies: if currency not in supported_currencies:
print("CURRENCY", currency, "NOT IN", supported_currencies)
continue continue
# Create the actual ad and pass in all the stuff # Create the actual ad and pass in all the stuff
if not settings.DUMMY: if not settings.DUMMY:
@ -659,6 +660,7 @@ class LocalPlatformClient(ABC):
payment_details=account_info[currency], payment_details=account_info[currency],
ad=ad, ad=ad,
) )
print("REAL CREATE AD RETURN", rtrn)
else: else:
log.debug( log.debug(
f"DUMMY: create_ad({asset}, {countrycode}, {currency}, " f"DUMMY: create_ad({asset}, {countrycode}, {currency}, "