Skip to content

Commit

Permalink
Update java/src/org/openqa/selenium/remote/http/WebSocket.java
Browse files Browse the repository at this point in the history
Co-authored-by: Diego Molina <diemol@users.noreply.github.com>
  • Loading branch information
titusfortner and diemol authored Oct 4, 2023
1 parent 4902507 commit ff4d2f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion java/src/org/openqa/selenium/remote/http/WebSocket.java
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ default void onText(CharSequence data) {

default void onError(Throwable cause) {
String message = cause.getMessage();
if(message == null && cause.getCause().getMessage() != null) {
if (message == null && cause.getCause().getMessage() != null) {
message = cause.getCause().getMessage();
}
LOG.log(WARNING, message, cause);
Expand Down

0 comments on commit ff4d2f2

Please sign in to comment.