look for e.message if e.msg is undefined

I have checked multiple times and noticed e.msg to be undefined. So added a little check to see if message property exists or not. I haven't replaced "msg" with "message" assuming in different env, msg property could exist.

Also, I noticed that version 0.2.3 is not yet published. And the changes done in that version is required in our project. So can you let me know when you would publish 0.2.3. We are really looking forward to use this.
Thanks a lot for this module.