Make it impossible for TerminalCommands commands to kill TFW

This commit is contained in:
Kristóf Tóth 2018-05-26 22:48:28 +02:00
parent 77fabf28f6
commit fd56f8ca63

View File

@ -63,5 +63,5 @@ class TerminalCommands(ABC):
if command in self.command_implemetations.keys():
try:
self.command_implemetations[command](*parts[1:])
except IndexError:
LOG.debug('Command "%s" failed!', command)
except Exception: # pylint: disable=broad-except
LOG.exception('Command "%s" failed:', command)