mirror of
https://github.com/corda/corda.git
synced 2025-01-22 04:18:31 +00:00
provide a useful error message when throwing IOExceptions from Java_java_nio_channels_SocketChannel_natFinishConnect
This commit is contained in:
parent
4570b86da0
commit
b15ff58542
@ -397,7 +397,7 @@ Java_java_nio_channels_SocketChannel_natFinishConnect(JNIEnv *e,
|
||||
} else if (einProgress(error)) {
|
||||
return false;
|
||||
} else if (error != 0) {
|
||||
throwIOException(e);
|
||||
throwIOException(e, errorString(e, error));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user