« Previous | Next » 

Revision 6c896e2f

ID6c896e2ffcdf4889279d9b6607e23d61bab96bc4

Added by Iustin Pop about 16 years ago

bdev: always log command output if it failed

Currently many error handling code paths in bdev.py log only
result.fail_reason (i.e. exit code or signal that killed the command)
but not its output. This makes debugging very hard.

The patch changes all places where we only log fail_reason to also log
result.output.

Reviewed-by: ultrotter

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences