output error message.

Signed-off-by: Jack <jack.wgm@gmail.com>