add command log when fail