Skip to content

Commit

Permalink
Save Thu Feb 22 05:23:38 PM -03 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
Hugo Arregui committed Feb 22, 2024
1 parent 7a02bff commit e8375a4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions ws-connector/src/controllers/handlers/ws-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,8 @@ export async function registerWsHandler(
try {
packet = ClientPacket.decode(Buffer.from(message))
} catch (err: any) {

console.log(Buffer.from(message).toString('hex').match(/../g)!.join(' '))


logger.error(err)
ws.end(1007, Buffer.from('Cannot decode ClientPacket'))
return
Expand Down

0 comments on commit e8375a4

Please sign in to comment.