-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add getLastError() API to MultiProtocolJSONClient
To allow determining the cause of a disconnection, add a new API to MultiProtocolJSONClient to retrieve the Exception passed from the WebSocket library in the onError() callback. This is required to allow logging the OCPP 2.0.1 Security Events "InvalidTLSVersion" and "InvalidTLSCipherSuite", by examining the type of Exception and its message string.
- Loading branch information
1 parent
63fe226
commit 7904a1f
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters