diff --git a/pkgs/clan-cli/clan_cli/cmd.py b/pkgs/clan-cli/clan_cli/cmd.py index 53d0634c4..8ffb9881d 100644 --- a/pkgs/clan-cli/clan_cli/cmd.py +++ b/pkgs/clan-cli/clan_cli/cmd.py @@ -394,7 +394,8 @@ def run( if options.check and process.returncode != 0: err = ClanCmdError(cmd_out) - err.msg = "Command has been cancelled" + err.msg = str(stderr_buf) + err.description = "Command has been cancelled" raise err return cmd_out