Open jaganvarun059 opened 1 month ago
Issue Summary:
In Strophe.js version 3.0.1, the Strophe.error method is unable to retrieve and process the stream error details.
Strophe.error
Currently, error details are only logged to the console instead of being handled.
Previously, custom error handling could be implemented as follows:
Strophe.error = (errorMsg: string) => { // Custom error handling code };
Fix Details:
Strophe.error(errorString)
_checkStreamError
Testing:
Verified that Strophe.error successfully captures and processes stream error details with the custom error handling code.
Issue Summary:
In Strophe.js version 3.0.1, the
Strophe.error
method is unable to retrieve and process the stream error details.Currently, error details are only logged to the console instead of being handled.
Previously, custom error handling could be implemented as follows:
Fix Details:
Strophe.error(errorString)
has been added in the_checkStreamError
method immediately after logging the error to the console.Strophe.error
method override to capture stream error details, allowing custom error handling to function as expected.Testing:
Verified that
Strophe.error
successfully captures and processes stream error details with the custom error handling code.