Skip to content

Commit

Permalink
fix undefined error
Browse files Browse the repository at this point in the history
  • Loading branch information
tomtomcrypto committed Jun 6, 2024
1 parent 37d97c2 commit 6c779a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ws/WebsocketRPC.ts
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ export default class WebsocketRPC {
sub.handleRawAction(data);
const duration = ((Number(process.hrtime.bigint()) - Number(tRef)) / 1000).toFixed(3);
for(let ws of sub.wsClients){
console.log(`WSPUBLISH: ${new Date().toISOString()} - ${duration} μs - ${ws[0].clientInfo.ip} (0/0) - ${ws[0].clientInfo.origin} - ${data.type.toUppercase()}`);
console.log(`WSPUBLISH: ${new Date().toISOString()} - ${duration} μs - ${ws[0].clientInfo.ip} (0/0) - ${ws[0].clientInfo.origin} - raw`);
}
}
}
Expand Down

0 comments on commit 6c779a4

Please sign in to comment.