Confusing error message from on_cmd
Closed this issue · 1 comments
jimboca commented
The nodeserver_api on_cmd method gives this error message:
DEBUG [04-17-2016 09:13:47] polyglot.nodeserver_manager: ihcam STDIN: {"cmd": {"node_address": "00626e495be9", "command": "SET_ALMOC", "uom": 2, "value": 0.0, "request_id": null}}
ERROR [04-17-2016 09:13:47] polyglot.nodeserver_manager: ihcam: ERROR: on_cmd: node 00626e495be9 does not support command SET_ALMOC
ERROR [04-17-2016 09:13:47] polyglot.nodeserver_manager: ihcam: Unsuccessful handling cmd in function on_cmd
But the code shows this error when the node does not exist, so it really should say the node is not found.
jimboca commented
Merged into unstable-rc