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

Commit

Permalink
Merge pull request #2735 from MycroftAI/bugfix/load-status
Browse files Browse the repository at this point in the history
Ensure load_status is initialized on load failure
  • Loading branch information
forslund committed Oct 26, 2020
2 parents f809ab2 + 3ca15e9 commit 73e4994
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 73e4994

Please sign in to comment.