Change error comment and start to catch exceptions
Merge pull request #16 from termoshtt/catch_exception

Catch exception