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