diff --git a/plugins/currency/ethereum/ethermine_hashrate_ b/plugins/currency/ethereum/ethermine_hashrate_ index 9fc60452..12b159a1 100755 --- a/plugins/currency/ethereum/ethermine_hashrate_ +++ b/plugins/currency/ethereum/ethermine_hashrate_ @@ -89,6 +89,7 @@ try: mining_stats_raw = urlopen(mining_req, timeout=15) except IOError as exc: print("Failed to request ethermine.org API: {}".format(exc), file=sys.stderr) + sys.exit(9) reader = codecs.getreader("utf-8") diff --git a/plugins/currency/ethereum/etherscan_balance_ b/plugins/currency/ethereum/etherscan_balance_ index 38ad62ee..4dc758fb 100755 --- a/plugins/currency/ethereum/etherscan_balance_ +++ b/plugins/currency/ethereum/etherscan_balance_ @@ -87,6 +87,7 @@ try: etherscan_balance_raw = urlopen(etherscan_req, timeout=15) except IOError as exc: print("Failed to request etherscan.io API: {}".format(exc), file=sys.stderr) + sys.exit(9) reader = codecs.getreader("utf-8")