Skip to content

fix: guard against missing plugin directory in config loads#1411

Merged
frdel merged 1 commit intoagent0ai:readyfrom
3clyp50:ready
Apr 1, 2026
Merged

fix: guard against missing plugin directory in config loads#1411
frdel merged 1 commit intoagent0ai:readyfrom
3clyp50:ready

Conversation

@3clyp50
Copy link
Copy Markdown
Contributor

@3clyp50 3clyp50 commented Apr 1, 2026

find_plugin_dir can return None if a plugin cannot be found. Passing this null value to files.get_abs_path caused crashes during config retrieval. get_plugin_config and get_default_plugin_config now check for a valid directory and return early if it is missing.

Screenshot from 2026-04-01 20-41-32

`find_plugin_dir` can return `None` if a plugin cannot be found. Passing
this null value to `files.get_abs_path` caused crashes during config
retrieval. `get_plugin_config` and `get_default_plugin_config` now check
for a valid directory and return early if it is missing.
@frdel frdel merged commit ace6c9e into agent0ai:ready Apr 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants