From fa33110d042734f32c34656d27044c6cc0fd541a Mon Sep 17 00:00:00 2001 From: Alex Grintsvayg Date: Tue, 27 Feb 2018 14:06:45 -0500 Subject: [PATCH] stop spamming cryptonator errors. fixes #984 --- lbrynet/daemon/ExchangeRateManager.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lbrynet/daemon/ExchangeRateManager.py b/lbrynet/daemon/ExchangeRateManager.py index c6d321929..6fce06380 100644 --- a/lbrynet/daemon/ExchangeRateManager.py +++ b/lbrynet/daemon/ExchangeRateManager.py @@ -171,7 +171,7 @@ class CryptonatorBTCFeed(MarketFeed): try: json_response = json.loads(response) except ValueError: - raise InvalidExchangeRateResponse(self.name, "invalid rate response : %s" % response) + raise InvalidExchangeRateResponse(self.name, "invalid rate response") if 'ticker' not in json_response or len(json_response['ticker']) == 0 or \ 'success' not in json_response or json_response['success'] is not True: raise InvalidExchangeRateResponse(self.name, 'result not found') @@ -194,7 +194,7 @@ class CryptonatorFeed(MarketFeed): try: json_response = json.loads(response) except ValueError: - raise InvalidExchangeRateResponse(self.name, "invalid rate response : %s" % response) + raise InvalidExchangeRateResponse(self.name, "invalid rate response") if 'ticker' not in json_response or len(json_response['ticker']) == 0 or \ 'success' not in json_response or json_response['success'] is not True: raise InvalidExchangeRateResponse(self.name, 'result not found')