Add session to mqtt

Add session to mqtt
This commit is contained in:
Brian Martin 2019-03-17 11:35:52 -04:00
parent 4080f0f950
commit a1ff95cc23

View file

@ -339,6 +339,7 @@ class BumperMQTTServer_Plugin:
tmpbotdetail[1],
"eco-ng",
)
mqttserverlog.debug(
"new bot authenticated SN: {} DID: {}".format(
username, didsplit[0]
@ -372,7 +373,7 @@ class BumperMQTTServer_Plugin:
authenticated = False
except Exception as e:
mqttserverlog.exception("{}".format(e))
mqttserverlog.exception("Session: {} - {}".format((kwargs.get("session", None)),e))
authenticated = False
return authenticated