PANIC: unprotected error in call to Lua API (not connected)
This is the code where it panics:
m:publish("domoticz/in",msg,0,0, function(conn)
print("publish success")
end)Should I treat the return code, in order to prevent the panic if it fails?
Thanks
Cesar