@@ -287,7 +287,7 @@ public IRubyObject initialize(final ThreadContext context, final IRubyObject[] a
287
287
try { key = readRSAPrivateKey (rsaFactory , str .getBytes ()); }
288
288
catch (NoClassDefFoundError e ) { noClassDef = true ; debugStackTrace (runtime , e ); }
289
289
catch (InvalidKeySpecException e ) { debug (runtime , "PKeyRSA could not read private key" , e ); }
290
- catch (IOException e ) { debug (runtime , "PKeyRSA could not read private key" , e ); }
290
+ catch (IOException e ) { debugStackTrace (runtime , "PKeyRSA could not read private key" , e ); }
291
291
catch (RuntimeException e ) {
292
292
if ( isKeyGenerationFailure (e ) ) debug (runtime , "PKeyRSA could not read private key" , e );
293
293
else debugStackTrace (runtime , e );
@@ -297,7 +297,7 @@ public IRubyObject initialize(final ThreadContext context, final IRubyObject[] a
297
297
try { key = readRSAPublicKey (rsaFactory , str .getBytes ()); }
298
298
catch (NoClassDefFoundError e ) { noClassDef = true ; debugStackTrace (runtime , e ); }
299
299
catch (InvalidKeySpecException e ) { debug (runtime , "PKeyRSA could not read public key" , e ); }
300
- catch (IOException e ) { debug (runtime , "PKeyRSA could not read public key" , e ); }
300
+ catch (IOException e ) { debugStackTrace (runtime , "PKeyRSA could not read public key" , e ); }
301
301
catch (RuntimeException e ) {
302
302
if ( isKeyGenerationFailure (e ) ) debug (runtime , "PKeyRSA could not read public key" , e );
303
303
else debugStackTrace (runtime , e );
0 commit comments