diff options
| author | Adam Soltys <[email protected]> | 2023-09-25 04:48:30 +0000 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2023-09-25 04:48:30 +0000 |
| commit | b63116cf713acd14fa966fe3aad8772d8cb8051f (patch) | |
| tree | e0ac7541820cf76bcdb8f6b38aef33801e4264c9 | |
| parent | 58e3d5233d345e03f37dcfc745d1ff09e591de6c (diff) | |
| download | coinos-server-b63116cf713acd14fa966fe3aad8772d8cb8051f.tar.gz coinos-server-b63116cf713acd14fa966fe3aad8772d8cb8051f.zip | |
ignore ws errors
| -rw-r--r-- | lib/sockets.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/sockets.js b/lib/sockets.js index 12c54571..03ad6752 100644 --- a/lib/sockets.js +++ b/lib/sockets.js @@ -126,7 +126,7 @@ export async function socketServer(app) { } }); - ws.on("error", e => err(e.message)); + ws.on("error", e => {}); ws.on("close", function(code, reason) { try { |
