Attach command_obj to return error

Base on the error reply, we can't know where the error real happens, and what command relative it, if there are multiple command executing at the same time.

So we have to trace what command occurs the error, we need attach the command_obj to the error.