chore(): update examples for exception event

This commit is contained in:
tiagosiebler
2025-02-18 11:02:47 +00:00
parent 9cbb1da101
commit 355756723f
4 changed files with 7 additions and 7 deletions

View File

@@ -377,8 +377,8 @@ ws.on('close', () => {
});
// Listen to raw error events. Recommended.
ws.on('error', (err) => {
console.error('error', err);
ws.on('exception', (err) => {
console.error('exception', err);
});
ws.on('reconnect', ({ wsKey }) => {