Extra safety around skill specific shutdown
Catch error in shutdown method of skill and continue with general shutdown
@@ -886,7 +886,11 @@ class MycroftSkill(object):
def _shutdown(self):
"""Parent function called internally to shut down everything"""
+ try:
self.shutdown()
+ except exception as e:
+ LOG.error('Skill specific shutdown function encountered '
+ 'an error: {}'.format(repr(e)))
# Store settings
self.settings.store()
self.settings.is_alive = False
