improving logging for subcommand failure (#3824)

1 file changed