add error handling
Merge pull request #10 from n0bisuke/master

add error console about error detail.