add error class name on log
Merge pull request #147 from tagomoris/add_error_class

add error class name on log