add name of feed to log.info

This commit is contained in:
Kay Kurokawa 2017-10-23 16:04:10 -04:00
parent 433547407e
commit 4411c5c202

View file

@ -71,7 +71,7 @@ class MarketFeed(object):
return defer.succeed(from_amount / (1.0 - self.fee)) return defer.succeed(from_amount / (1.0 - self.fee))
def _save_price(self, price): def _save_price(self, price):
log.debug("Saving price update %f for %s" % (price, self.market)) log.debug("Saving price update %f for %s from %s" % (price, self.market, self.name))
self.rate = ExchangeRate(self.market, price, int(time.time())) self.rate = ExchangeRate(self.market, price, int(time.time()))
def _log_error(self, err): def _log_error(self, err):