log run command if it has errors (result != 0)