save failed command output