From e82ca0234bb674bd5e4194f5e9cd7eaf6bd00113 Mon Sep 17 00:00:00 2001 From: cantor Date: Sat, 22 Sep 2007 04:08:59 +0000 Subject: [PATCH] Log exceptions during verify loop. git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@312 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0 --- samlsign/samlsign.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.1.4