Add more debug calls in Local library
This commit is contained in:
parent
294e6b0e77
commit
644444c02f
|
@ -407,14 +407,17 @@ class Local(util.Base):
|
|||
try:
|
||||
rates[cg_asset_name][currency.lower()]
|
||||
except KeyError:
|
||||
# self.log.error("Error getting public ads for currency {currency}", currency=currency)
|
||||
self.log.debug(f"Error getting public ads for currency: {currency}")
|
||||
continue
|
||||
ads_list = yield self.enum_public_ads(asset, currency, providers)
|
||||
if not ads_list:
|
||||
self.log.debug("Error getting ads list.")
|
||||
continue
|
||||
ads = self.money.lookup_rates(self.platform, ads_list, rates=rates)
|
||||
if not ads:
|
||||
self.log.debug("Error lookup up rates.")
|
||||
continue
|
||||
self.log.debug("Writing to ES.")
|
||||
self.write_to_es_ads("ads", ads)
|
||||
if currency in public_ads:
|
||||
for ad in list(ads):
|
||||
|
|
Loading…
Reference in New Issue