add handler for fail ERROR message
add comment
Merge pull request #45 from chestnutchen/master

add handler for fail ERROR message