From: cantor Date: Sat, 22 Sep 2007 04:08:59 +0000 (+0000) Subject: Log exceptions during verify loop. X-Git-Tag: 2.4.1~308 X-Git-Url: http://www.project-moonshot.org/gitweb/?p=shibboleth%2Fopensaml2.git;a=commitdiff_plain;h=e82ca0234bb674bd5e4194f5e9cd7eaf6bd00113 Log exceptions during verify loop. git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@312 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- diff --git a/samlsign/samlsign.cpp b/samlsign/samlsign.cpp index 04ceb52..1683edd 100644 --- a/samlsign/samlsign.cpp +++ b/samlsign/samlsign.cpp @@ -265,7 +265,8 @@ int main(int argc,char* argv[]) good = true; break; } - catch (exception&) { + catch (exception& e) { + log.info("error trying verification key: %s", e.what()); } } if (!good)