Mercurial > libervia-backend
changeset 4226:3f7ca590a5da
cli (pubsub): use `PEP` when service is not specified in error message.
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 05 Mar 2024 17:31:56 +0100 (9 months ago) |
parents | cd889f4771cb |
children | dfccc90cacc6 |
files | libervia/cli/cmd_pubsub.py |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libervia/cli/cmd_pubsub.py Tue Mar 05 17:31:56 2024 +0100 +++ b/libervia/cli/cmd_pubsub.py Tue Mar 05 17:31:56 2024 +0100 @@ -85,8 +85,9 @@ ) except BridgeException as e: if e.condition == "item-not-found": + service = self.args.service or "PEP" self.disp( - f"The node {self.args.node} doesn't exist on {self.args.service}", + f"The node {self.args.node} doesn't exist on {service}", error=True, ) self.host.quit(C.EXIT_NOT_FOUND)