From 01399d4be6f3dacb7c0bed2b84edbbc63331b83e Mon Sep 17 00:00:00 2001 From: troido Date: Fri, 18 Jan 2019 17:59:45 +0100 Subject: config templates are now actually used --- asciifarm/client/inputhandler.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'asciifarm/client/inputhandler.py') diff --git a/asciifarm/client/inputhandler.py b/asciifarm/client/inputhandler.py index 8d99c40..850e890 100644 --- a/asciifarm/client/inputhandler.py +++ b/asciifarm/client/inputhandler.py @@ -35,7 +35,10 @@ class InputHandler: else: try: command, _sep, arg = message[1:].partition(' ') - self.commandHandler.execute([command, arg]) + try: + self.commandHandler.execute([command, arg]) + except Exception as e: + self.log(e) except InvalidCommandException as e: self.client.log(", ".join(e.args)) else: -- cgit