command: Log the failed command name
Change-Id: I03938a845110002755636a9514b17a213bf1cc72 Signed-off-by: Jean-Christian de Rivaz <jcamdr70@gmail.com> Reviewed-on: http://openocd.zylin.com/4808 Reviewed-by: Tomas Vanek <vanekt@fbl.cz> Tested-by: jenkins
This commit is contained in:
parent
a15c11d7d0
commit
44009186cf
|
@ -639,7 +639,7 @@ static int run_command(struct command_context *context,
|
|||
/* we do not print out an error message because the command *should*
|
||||
* have printed out an error
|
||||
*/
|
||||
LOG_DEBUG("Command failed with error code %d", retval);
|
||||
LOG_DEBUG("Command '%s' failed with error code %d", c->name, retval);
|
||||
}
|
||||
|
||||
return retval;
|
||||
|
|
Loading…
Reference in New Issue