Skip to content
This repository has been archived by the owner on Sep 8, 2024. It is now read-only.

Commit

Permalink
ensure load_status is initialized on load failure
Browse files Browse the repository at this point in the history
  • Loading branch information
krisgesling committed Oct 26, 2020
1 parent 11062db commit 3ca15e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mycroft/skills/skill_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ def _load_skill(self, skill_directory):
load_status = skill_loader.load()
except Exception:
LOG.exception('Load of skill {} failed!'.format(skill_directory))
load_status = False
finally:
self.skill_loaders[skill_directory] = skill_loader

Expand Down

0 comments on commit 3ca15e9

Please sign in to comment.