-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Better error reporting when registering a plugin not named nu_plugin_xxx #8548
Copy link
Copy link
Closed
Labels
A:error-unhelpfulThe error message you observe is not helpful to identify the problemThe error message you observe is not helpful to identify the problemdeprecated:pr-pluginsDeprecated: use the A:plugins label insteadDeprecated: use the A:plugins label instead
Milestone
Description
Describe the bug
When registering a plugin not named nu_plugin_xxx the register command fails silently
How to reproduce
- register /full/path/some_nu_plugin
Expected behavior
An error saying plugin binary names must be nu_plugin_....
Screenshots
No response
Configuration
| key | value |
|---|---|
| version | 0.76.0 |
| branch | |
| commit_hash | |
| build_os | macos-aarch64 |
| build_target | aarch64-apple-darwin |
| rust_version | rustc 1.64.0 (a55dd71d5 2022-09-19) |
| rust_channel | stable-aarch64-apple-darwin |
| cargo_version | cargo 1.64.0 (387270bc7 2022-09-16) |
| pkg_version | 0.76.0 |
| build_time | 2023-02-23 20:11:53 +02:00 |
| build_rust_channel | release |
| features | database, default, trash, which, zip |
| installed_plugins | nu-example-1, nu-example-2, nu-example-3, nu-viz |
Additional context
No response
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A:error-unhelpfulThe error message you observe is not helpful to identify the problemThe error message you observe is not helpful to identify the problemdeprecated:pr-pluginsDeprecated: use the A:plugins label insteadDeprecated: use the A:plugins label instead