Improving log messages
Signed-off-by: David Négrier <d.negrier@thecodingmachine.com>
This commit is contained in:
parent
603045bcad
commit
6c6a7e6fe4
3 changed files with 7 additions and 8 deletions
|
@ -484,7 +484,7 @@ export class GameRoom {
|
|||
for (const roomListener of this.roomListeners) {
|
||||
emitErrorOnRoomSocket(
|
||||
roomListener,
|
||||
"Your map does not seem accessible from the WorkAdventure servers. Is it behind a firewall or a proxy? Your map should be accessible from the WorkAdventure servers. If you use the scripting API in this map, please be aware that server-side checks and variable persistence is disabled."
|
||||
"Your map '"+this.mapUrl+"' does not seem accessible from the WorkAdventure servers. Is it behind a firewall or a proxy? Your map should be accessible from the WorkAdventure servers. If you use the scripting API in this map, please be aware that server-side checks and variable persistence is disabled."
|
||||
);
|
||||
}
|
||||
}, 1000);
|
||||
|
|
|
@ -308,7 +308,7 @@ export class SocketManager {
|
|||
const user = room.join(socket, joinRoomMessage);
|
||||
|
||||
clientEventsEmitter.emitClientJoin(user.uuid, roomId);
|
||||
console.log(new Date().toISOString() + " A user joined");
|
||||
console.log(new Date().toISOString() + " user '"+user.uuid+"' joined room '"+roomId+"'");
|
||||
return { room, user };
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue