1
0
mirror of https://github.com/avatao-content/baseimage-tutorial-framework synced 2025-04-11 06:49:49 +00:00

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

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