rest-api: catch error from pluginRegisterFct()
authorYannick Gicquel <yannick.gicquel@iot.bzh>
Thu, 28 Jan 2016 15:31:50 +0000 (16:31 +0100)
committerYannick Gicquel <yannick.gicquel@iot.bzh>
Thu, 28 Jan 2016 15:31:50 +0000 (16:31 +0100)
in case NULL is returned, log an error and do not register
the plugin.

Signed-off-by: Yannick Gicquel <yannick.gicquel@iot.bzh>

No differences found