node-dash-button icon indicating copy to clipboard operation
node-dash-button copied to clipboard

Fix an issue where an exception was thrown when properties were refer…

Open mfranchi opened this issue 7 years ago • 1 comments

Fix an issue where an exception was thrown when properties were referenced on undefined objects.

In some instances the packets the app would receive were not as expected and the app was crashing after trying to access properties on objects that were undefined.

On the line referencing "packet.payload.payload.sender_ha.addr", the "sender_ha" property is sometimes undefined and that was causing the app to crash when "addr" was referenced.

mfranchi avatar Jul 05 '18 20:07 mfranchi

Coverage Status

Coverage increased (+0.02%) to 98.438% when pulling 7724459151daef704a6ec4549c0793b2a6e1c3ed on mfranchi:master into f15ce0fcd9c3006a45d59cc6f83b2a57ae321ae4 on hortinstein:master.

coveralls avatar Jul 05 '18 20:07 coveralls