forked from ppfun/pixelplanet
another useless commit
This commit is contained in:
parent
cc60ebdddd
commit
958d4a35ec
|
@ -59,7 +59,9 @@ class APISocketServer extends WebSocketEvents {
|
|||
this.wss = wss;
|
||||
this.mc = new Minecraft();
|
||||
|
||||
wss.on('error', logger.error);
|
||||
wss.on('error', (e) => {
|
||||
logger.error(`APIWebSocket Server Error ${e.message}`);
|
||||
});
|
||||
|
||||
wss.on('connection', async (ws) => {
|
||||
ws.isAlive = true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user