for debug, it is always whole page

This commit is contained in:
Victor Shyba 2021-05-04 01:43:51 -03:00 committed by Victor Shyba
parent 3c67bb90d7
commit fb77fde710

View file

@ -87,7 +87,7 @@ class MarketFeed:
except json.JSONDecodeError as e: except json.JSONDecodeError as e:
msg = e.doc if '<html>' not in e.doc else 'unexpected content type.' msg = e.doc if '<html>' not in e.doc else 'unexpected content type.'
log.warning("Could not parse exchange rate response from %s: %s", self.name, msg) log.warning("Could not parse exchange rate response from %s: %s", self.name, msg)
log.debug(msg) log.debug(e.doc)
except InvalidExchangeRateResponseError as e: except InvalidExchangeRateResponseError as e:
log.warning(str(e)) log.warning(str(e))
except ClientConnectionError as e: except ClientConnectionError as e: