Skip to content

Commit 305d9af

Browse files
committed
Add catch statement.
1 parent beba316 commit 305d9af

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

utils/socket-utils/src/main/java17/datadog/common/socket/TunnelingJdkSocket.java

+2
Original file line numberDiff line numberDiff line change
@@ -166,6 +166,8 @@ public InputStream getInputStream() throws IOException {
166166
buffer.flip();
167167
break;
168168
}
169+
} catch (Exception e) {
170+
System.out.println("=====Error while reading from client: " + e + "=====");
169171
} finally {
170172
System.out.println("=====14=====");
171173
selector.close();

0 commit comments

Comments
 (0)