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 2b3e2c5 commit aa43025Copy full SHA for aa43025
src/main/java/com/timgroup/statsd/UnixStreamClientChannel.java
@@ -206,6 +206,11 @@ private void connect() throws IOException {
206
} catch (Exception e) {
207
System.out.println("========== Native UDS implementation failed with outer exception: " + e.getClass().getName() + ": " + e.getMessage());
208
e.printStackTrace();
209
+
210
+ Throwable cause = e.getCause();
211
+ if (e instanceof java.lang.reflect.InvocationTargetException && cause instanceof IOException) {
212
+ throw (IOException) cause;
213
+ }
214
throw new IOException("Failed to create UnixStreamClientChannel for native UDS implementation", e);
215
}
216
0 commit comments