Added error message handling
Merge pull request #12 from sztanko/master

Message source in case of non OK status