output failing command on error