Error handling for sendMessage
Merge pull request #79 from garys-esri/master

Error handling for sendMessage