log error msg
Merge pull request #1 from lzhan/example

log error msg