Ugly code for force-reload

This commit is contained in:
Luke Rogers 2014-02-25 13:36:52 +13:00
parent 5d3280b9d5
commit 9cfdc0b706
2 changed files with 21 additions and 5 deletions

View file

@ -101,6 +101,7 @@ def mcping_modern(host, port):
max_players = data["players"]["max"]
online = data["players"]["online"]
except Exception as e:
# TODO: except Exception is bad
traceback.print_exc(e)
raise PingError("Unknown Error: {}".format(e))