Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
app: point "handle_unknown_command()" error message to "west -vv status"
Commit d842371 ("app: handle unexpected command name better") intentionally created a big error handling difference between extensions and built-in commands. As an unfortunate side effect, it lost the relevant "manifest import failure" error messages for _extension_ commands. This is especially ironic when the extension command is missing because the import failed, see example in #726. Error handling is generally very hard to test comprehensively and even more so in this complex "bootstrap" area. Rather than trying to refactor it once again, tweak the existing error messages to gently steer the user away from (potentially missing) extensions and towards built-in commands that provide a simpler and better error handling out of the box: they still show relevant, manifest error messages! Always have. Also recommand the -vv option which conveniently includes git error messages like "dubious ownership" since previous commit 23db6e1 ("app: re-work logging yet again") from the same giant PR Signed-off-by: Marc Herbert <[email protected]>
- Loading branch information