Fix:Client emitter users not found no longer is an error

This commit is contained in:
advplyr 2022-02-26 16:35:40 -06:00
parent d368988899
commit 3a34daef7c

View File

@ -94,7 +94,7 @@ class Server {
clientEmitter(userId, ev, data) {
var clients = this.getClientsForUser(userId)
if (!clients.length) {
return Logger.error(`[Server] clientEmitter - no clients found for user ${userId}`)
return Logger.debug(`[Server] clientEmitter - no clients found for user ${userId}`)
}
clients.forEach((client) => {
if (client.socket) {