psychopy icon indicating copy to clipboard operation
psychopy copied to clipboard

ENH: Better error catching when loading plugins

Open TEParsons opened this issue 5 months ago • 3 comments

Currently, because we use return False rather than continue when an entry point fails to load, if one entry point fails then none of the rest of the entry points for that plugin are registered. There also isn't any detail given, so the logs just look like:

ERROR Failed to load <entry point> from <plugin-name> for unknown reason. Skipping

This PR means that when an entry point fails, only that specific entry point is skipped, and we'll log the reason.

TEParsons avatar Sep 26 '24 10:09 TEParsons