From: Edward Faulkner Date: 2005-10-19T07:41:43+09:00 Subject: Re: rescue'ing OpenSSL errors --neYutvxvOLaeuPCA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Oct 19, 2005 at 07:11:12AM +0900, Robert wrote: > Seems like I can't rescue that because the error comes from a C =20 > library. Is that right? By default, rescue only catches exceptions that are derived from StandardError (not Exception). It's possible that OpenSSL is raising an exception derived directly from Exception. Try using "rescue Exception" instead of just "rescue". regards, Ed --neYutvxvOLaeuPCA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDVXU3nhUz11p9MSARAvxMAJwKL81UPkTTJI+Btwcrz4WGdgb8bACgqi3t NkJYlO+NK/mD1aC7BWWFWrg= =Ixff -----END PGP SIGNATURE----- --neYutvxvOLaeuPCA--