legs_controller: improve errors reporting

Signed-off-by: diditclear <didyourupgradeclear@gmail.com>