From fea55ff542837ce42421aa6664939f21ebec2479 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Mon, 22 Feb 2016 02:06:44 +0100 Subject: [PATCH] Server: More expressive error message. --- server/io.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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): -- 2.30.2