njh / node-owfs

A node.js client library for the owserver protocol in owfs
https://www.npmjs.com/package/owfs
MIT License
10 stars 4 forks source link

check if payload of message is defined #39

Closed vaceslav closed 5 years ago

vaceslav commented 5 years ago

When a payload is not defined, then the application is crashed. For example if you try to read an alias. And alias is empty.

njh commented 5 years ago

Thanks for this fix. Are you able to write a test for this?

njh commented 5 years ago

Fantastic, thanks!