mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-04-24 03:29:57 -07:00
CLI: Print plugin name on load fail
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
- ESP Flasher: Update blackmagic bin with WiFi Logs (by @DrZlo13)
|
||||
- Picopass: File loading improvements and fixes (by @bettse)
|
||||
- Quac!: Setting for external IR board support (by @daniilty), code improvements (by @rdefeo)
|
||||
- CLI: Print plugin name on load fail (by @Willy-JL)
|
||||
|
||||
### Fixed:
|
||||
- RFID:
|
||||
|
||||
@@ -497,7 +497,10 @@ void cli_plugin_wrapper(const char* name, Cli* cli, FuriString* args, void* cont
|
||||
const CliCallback handler = plugin_manager_get_ep(manager, 0);
|
||||
handler(cli, args, context);
|
||||
} else {
|
||||
printf("CLI plugin failed (code %" PRIu16 "), update firmware or check logs\r\n", error);
|
||||
printf(
|
||||
"CLI plugin '%s' failed (code %" PRIu16 "), update firmware or check logs\r\n",
|
||||
name,
|
||||
error);
|
||||
}
|
||||
furi_string_free(path);
|
||||
plugin_manager_free(manager);
|
||||
|
||||
Reference in New Issue
Block a user