Error message if client was not created

This commit is contained in:
Jonathan Leibiusky @xetorthio
2017-11-01 15:00:04 -03:00
parent ba8d04aeb2
commit 41f036416c

View File

@@ -151,6 +151,9 @@ func ws(so *socket) {
}
client := core.ClientNew(so.Id(), session)
if client == nil {
log.Printf("ERROR: Client was not created for session id %s and socket id %s\n", session.Id, so.Id())
}
m, err := NewManager(session)
if err != nil {