Skip to content

Commit

Permalink
Save Thu Feb 22 04:43:02 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 b2978ca commit 1b438b4
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ws-connector/src/controllers/handlers/ws-handler.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ 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 1b438b4

Please sign in to comment.