From: Christian Heller Date: Mon, 22 Feb 2016 01:06:44 +0000 (+0100) Subject: Server: More expressive error message. X-Git-Tag: tce~184 X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bprefix%7D%7D/coming?a=commitdiff_plain;h=fea55ff542837ce42421aa6664939f21ebec2479;p=plomrogue Server: More expressive error message. --- diff --git a/server/io.py b/server/io.py index ab3bbff..ac7558e 100644 --- a/server/io.py +++ b/server/io.py @@ -260,7 +260,7 @@ def obey(command, prefix, replay=False, do_record=False): io_db["save_wait"] = time.time() io_db["worldstate_updateable"] = world_db["WORLD_ACTIVE"] elif 0 != len(tokens): - print("Invalid command/argument, or bad number of tokens.") + print("Invalid command/argument, or bad number of tokens: " + command) def obey_lines_in_file(path, name, do_record=False):