Skip to content

Commit

Permalink
plugins: replace PluginError with RuntimeError
Browse files Browse the repository at this point in the history
Co-authored-by: dgw <dgw@technobabbl.es>
  • Loading branch information
SnoopJ and dgw authored Jun 13, 2023
1 parent fa7b4fa commit 50ff13e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sopel/plugins/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def find_internal_plugins():
"""
modules = importlib.util.find_spec('sopel.modules')
if modules is None or modules.submodule_search_locations is None:
raise exceptions.PluginError('Cannot resolve internal plugins')
raise RuntimeError('Cannot resolve internal plugins')
plugin_list = itertools.chain.from_iterable(
_list_plugin_filenames(path)
for path in modules.submodule_search_locations
Expand Down

0 comments on commit 50ff13e

Please sign in to comment.