Skip to content

Commit

Permalink
Update exception logging
Browse files Browse the repository at this point in the history
  • Loading branch information
NeonDaniel authored Oct 25, 2023
1 parent 2223950 commit a78d58f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ovos_plugin_manager/tts.py
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ def create(config=None):
tts.validator.validate()
LOG.info(f'Loaded plugin {tts_module}')
else:
raise FileNotFoundError("unknown plugin")
raise RuntimeError(f"unknown plugin: {tts_module}")
except Exception:
plugins = find_tts_plugins()
modules = ",".join(plugins.keys())
Expand Down

0 comments on commit a78d58f

Please sign in to comment.