[Fixes #186] Improve the error message
Merge pull request #194 from arturkrasnyh/master

Fixes #186 - Improve the error message