Fix server client.user undefined, update logo

This commit is contained in:
Mark Cooper 2021-09-03 06:40:59 -05:00
parent 5b1269cbe8
commit a86bda59f6
8 changed files with 4 additions and 4 deletions

View file

@ -91,7 +91,7 @@ class StreamManager {
Logger.info('Close Stream Request', socket.id)
var client = socket.sheepClient
if (!client || !client.stream) {
Logger.error('No stream for client', client.user.id)
Logger.error('No stream for client', (client && client.user) ? client.user.username : 'No Client')
client.socket.emit('stream_closed', 'n/a')
return
}