main: handle WestNotFound
If a command throws this, we should print a fatal error, not a stack trace. Signed-off-by: Martí Bolívar <marti.bolivar@nordicsemi.no>
This commit is contained in:
parent
1b70e9b5f9
commit
5f9f6f301f
|
@ -372,6 +372,8 @@ class WestApp:
|
|||
# branches pointing at revisions with invalid manifest
|
||||
# data in projects that get imported.
|
||||
log.die('\n '.join(str(arg) for arg in mm.args))
|
||||
except WestNotFound as wnf:
|
||||
log.die(str(wnf))
|
||||
|
||||
def run_extension(self, name, argv):
|
||||
# Check a program invariant. We should never get here
|
||||
|
|
Loading…
Reference in New Issue