Skip to content

Commit

Permalink
SAMA-39 add rawPacket for error message
Browse files Browse the repository at this point in the history
  • Loading branch information
Oleksandr1414 committed Oct 13, 2023
1 parent c644efb commit 5d0e45b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/routes/client_manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,8 @@ class ClientManager {
}
}
} catch (err) {
console.error("[ClientManager] ws on message error", err);
const rawPacket = decoder.write(Buffer.from(message));
console.error("[ClientManager] ws on message error", err, rawPacket);
ws.send(
JSON.stringify({
response: {
Expand Down

0 comments on commit 5d0e45b

Please sign in to comment.