inwaar / node-red-contrib-gree-hvac

Provides a node for controlling Gree HVAC (Heating, ventilation, and air conditioning).
15 stars 7 forks source link

Wrong ip value causes node red to crash #8

Open Henkkas52 opened 2 years ago

Henkkas52 commented 2 years ago

I accidently made a wrong ip address entry, that causes node red to crash!!

Steve-Mcl commented 2 years ago

To add a bit context, in your node, there is no error handling around the gree client so errors in async code crashes node-red. These should be handled/caught and fed back to node-red via node.error(...) as documented in the node-red docs.

Thanks.