We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8fd6f05 commit d6470c6Copy full SHA for d6470c6
test-app/app/src/main/java/com/tns/AndroidJsV8Inspector.java
@@ -335,7 +335,10 @@ protected void onPong(NanoWSD.WebSocketFrame pong) {
335
336
@Override
337
protected void onException(IOException exception) {
338
- exception.printStackTrace();
+ // when the chrome inspector is disconnected by closing the tab a "Broken pipe" exception is thrown which we don't need to log
339
+ if(!exception.getMessage().equals("Broken pipe")) {
340
+ exception.printStackTrace();
341
+ }
342
disconnect();
343
}
344
0 commit comments