mirror of
https://github.com/avatao-content/baseimage-tutorial-framework
synced 2024-11-22 15:31:32 +00:00
Make it impossible for TerminalCommands commands to kill TFW
This commit is contained in:
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)
|
||||||
|
Loading…
Reference in New Issue
Block a user