mirror of
https://github.com/munin-monitoring/contrib.git
synced 2025-07-22 02:51:03 +00:00
exit on ioerror
This commit is contained in:
parent
2820f32d15
commit
25db9a778e
2 changed files with 2 additions and 0 deletions
|
@ -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")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue