mirror of
https://github.com/ChristianLight/tutor.git
synced 2024-12-12 14:17:46 +00:00
fix: ignore plugins that cannot be loaded
When running multiple concurrent versions of a plugin there are sometimes version conflicts that prevent the plugin from being loaded. Prior to v1, Tutor was correctly ignoring plugins that could not be loaded. During the transition to v1 we lost that feature because we only captured TutorErrors.
This commit is contained in:
parent
4bbeb4b84f
commit
6fb0a6b855
@ -18,6 +18,7 @@ Every user-facing change should have an entry in this changelog. Please respect
|
||||
|
||||
## Unreleased
|
||||
|
||||
- [Fix] Ignore Python plugins that cannot be loaded. (by @regisb)
|
||||
- [Improvement] Faster and more reliable builds with `npm clean-install` instead of `npm install`. (by @regisb. Thanks @ghassanmas!)
|
||||
- [Fix] Fix 500 error during studio login. (by @regisb)
|
||||
- [Fix] Fix updates for the Caddy deployment in multi-node Kubernetes clusters (#660). Previously, Caddy configuration updates might fail if the Kubernetes cluster had more than one worker node. (by @fghaas)
|
||||
|
@ -72,8 +72,8 @@ def load_all(names: t.Iterable[str]) -> None:
|
||||
for name in names:
|
||||
try:
|
||||
load(name)
|
||||
except exceptions.TutorError as e:
|
||||
fmt.echo_alert(f"Failed to enable plugin '{name}': {e.args[0]}")
|
||||
except Exception as e:
|
||||
fmt.echo_alert(f"Failed to enable plugin '{name}': {e}")
|
||||
hooks.Actions.PLUGINS_LOADED.do()
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user