diff options
author | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-11 22:39:16 +0200 |
---|---|---|
committer | Sebastien Douheret <sebastien.douheret@iot.bzh> | 2018-06-16 21:17:45 +0200 |
commit | 5e313af585768080f3e15fe9e1c55dd6a6b16c33 (patch) | |
tree | 78166a30321a3c75bd9570d606d0e941fed89d88 /conf.d/project/lua.d/onload-daemon-01-init.lua | |
parent | 69c0585c7edd2fbe06289d5e339d15c7f032533b (diff) |
Fixed null value when push Lua arguments
Still print a notice message when pushing a null object because having a null
object in LUA may be problematic and it's always a good idea to warn developer.
Also use json_object_to_json_string (safer than json_object_get_string in case
of object is not a string) to dump json object in notice/debug messages.
Change-Id: Ia3c252f38cbeca872b8f8fab1589da85d71a51ec
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
Diffstat (limited to 'conf.d/project/lua.d/onload-daemon-01-init.lua')
0 files changed, 0 insertions, 0 deletions