diff --git a/plugins/currency/ethereum/ethermine_hashrate_ b/plugins/currency/ethereum/ethermine_hashrate_ index 42cc7eba..8a210413 100755 --- a/plugins/currency/ethereum/ethermine_hashrate_ +++ b/plugins/currency/ethereum/ethermine_hashrate_ @@ -96,6 +96,7 @@ reader = codecs.getreader("utf-8") try: mining_stats = json.load(reader(mining_stats_raw)) except ValueError: + # Error in decoding operation or in JSON parsing throw a ValueError print("Failed to parse JSON response.", file=sys.stderr) sys.exit(9) diff --git a/plugins/currency/ethereum/etherscan_balance_ b/plugins/currency/ethereum/etherscan_balance_ index 53ecd34a..dd80be5f 100755 --- a/plugins/currency/ethereum/etherscan_balance_ +++ b/plugins/currency/ethereum/etherscan_balance_ @@ -94,6 +94,7 @@ reader = codecs.getreader("utf-8") try: etherscan_balance = json.load(reader(etherscan_balance_raw)) except ValueError: + # Error in decoding operation or in JSON parsing throw a ValueError print("Failed to parse JSON response.", file=sys.stderr) sys.exit(9)