treat error message as received msg

Signed-off-by: xiehuc <xiehuc@gmail.com>