Skip to content

Commit

Permalink
The error is sent to the Strophe error method, allowing it to be handle
Browse files Browse the repository at this point in the history
  • Loading branch information
jaganathanraja committed Oct 14, 2024
1 parent beef88f commit 836effd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/websocket.js
Original file line number Diff line number Diff line change
Expand Up @@ -121,7 +121,7 @@ class Websocket {
errorString += ' - ' + text;
}
log.error(errorString);
// The error is returned to the Strophe error method, allowing it to be handled.
// The stream error is sent to the Strophe error method, allowing it to be handled.
Strophe.error(errorString);

// close the connection on stream_error
Expand Down

0 comments on commit 836effd

Please sign in to comment.