Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Report plugin name when failing to override plugin config field value #3211

Merged

Conversation

chrisnovakovic
Copy link
Contributor

If the plugin with the name pluginName hasn't been registered, plugin will always be nil. In the error message, report pluginName rather than plugin.

Fixes #3120.

If the plugin with the name `pluginName` hasn't been registered,
`plugin` will always be nil. In the error message, report `pluginName`
rather than `plugin`.

Fixes thought-machine#3120.
Copy link
Member

@peterebden peterebden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@chrisnovakovic chrisnovakovic merged commit 85d2987 into thought-machine:master Aug 8, 2024
14 checks passed
@chrisnovakovic chrisnovakovic deleted the plugin-id-error branch August 8, 2024 16:31
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.

Overriding config field value for a non-existent plugin causes unhelpful error message
2 participants