Skip to content

Commit 474f730

Browse files
committed
Pass exception through to IOConnection
D.E.E(tm) [Don't Eat Exceptions]
1 parent 13762a3 commit 474f730

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/io/socket/WebsocketTransport.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public String getName() {
9595

9696
@Override
9797
public void onError(Exception ex) {
98-
// TODO Auto-generated method stub
99-
98+
if(connection != null)
99+
connection.onError(new SocketIOException(ex.getMessage(), ex));
100100
}
101-
}
101+
}

0 commit comments

Comments
 (0)