Ugly code for force-reload
This commit is contained in:
parent
5d3280b9d5
commit
9cfdc0b706
2 changed files with 21 additions and 5 deletions
|
@ -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))
|
||||
|
||||
|
|
Reference in a new issue