sopel-plugins list
crashes for malformed plugin
#2618
Labels
Bug
Things to squish; generally used for issues
sopel-plugins list
crashes for malformed plugin
#2618
Description
A plugin that causes an exception at load time will cause
sopel-plugins list
to crash when listing plugins.Reproduction steps
sopel-plugins list
and observe the crashclick for reproduction commands and detailed traceback
Expected behavior
I would expect
sopel-plugins list
to report that the plugin is known (because of its entrypoint) but is malformed and cannot be loaded, without crashing the command.Relevant logs
Notes
Discovered while @dgw had a go at the
sopel-wasi-cpython
plugin I've been developingSopel version
8.0.0
Installation method
pip install
Python version
3.9.16 (also observed on 3.12)
Operating system
Ubuntu 22.04
IRCd
N/A
Relevant plugins
N/A
The text was updated successfully, but these errors were encountered: