I have a noisy command whose output I want to hide on success. However, in a failure case, that output might prove helpful for debugging, so I want to show it before printing my error message.

Currently, I do it this way:

```
OUTPUT=$( cmd1 2>&1 ) || {
  echo $OUTPUT
  echo cmd1 failed
  exit 1
}

```

Is it possible to pipe `cmd1`'s output through the `||` (or, double-pipe) so I can avoid creating a variable for the output?