JSSE: replace printStackTrace with debug log in getId()

pull/363/head
Chris Conlon 2026-04-30 17:17:28 -06:00
parent 2efe358e08
commit 7addc50289
1 changed files with 2 additions and 2 deletions

View File

@ -321,8 +321,8 @@ public class WolfSSLImplementSSLSession extends ExtendedSSLSession {
return null;
} catch (WolfSSLJNIException e) {
/* print stack trace of native JNI error for debugging */
e.printStackTrace();
WolfSSLDebug.log(getClass(), WolfSSLDebug.ERROR,
() -> "In getId(), JNI error: " + e.getMessage());
return null;
}
}