Display command output when command fails with batch + failhard options (#33050)
Display command output when command fails with batch + failhard options (#33050)

* Display command output when command fails with batch + failhard options

Fixes #32452

* Use 'res' instead of 'ret' in error message to see minion id

saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt,saltstack/salt