crash when statusCode 404
Closed this issue · 0 comments
efa2000 commented
When I try to get a list of methods using a protocol that the device does not support, the application crashes
for example
I'm trying to get bravia.recording.getMethodTypes ()
device responds with code 404
and the application crashes with an error
TypeError: Cannot read property 'error' of undefined
at Request._callback (...../node_modules/bravia/src/bravia.js:187:27)