catch error when shutting frappy (sea remove)

This commit is contained in:
2023-10-17 14:18:34 +02:00
parent 03359d5b15
commit 2c01121ccc

View File

@ -210,7 +210,10 @@ class FrappyConfig(Device):
if cfg == '':
seaconn = session.devices.get(f'se_sea_{service}')
if seaconn and seaconn._attached_secnode:
seaconn.communicate('frappy_remove %s' % service)
try:
seaconn.communicate('frappy_remove %s' % service)
except Exception:
pass
used_cfg = {}
all_cfg = {}
new_cfg = {}