Skip to content

Commit

Permalink
Added logging to the WebSocket proxy in the API application
Browse files Browse the repository at this point in the history
  • Loading branch information
ihor committed Jun 7, 2024
1 parent 345aacf commit 147051f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ async function main() {
close: (res, socket, head) => {
console.log('WebSocket connection closed', res);
},
onError(err, req, res, target) {
error(err, req, res, target) {
console.log('WebSocket connection error', err);
}
}
Expand Down

0 comments on commit 147051f

Please sign in to comment.