From a9e98c3b9a6721ed98fa811f46c7b3833a1b56e8 Mon Sep 17 00:00:00 2001 From: Scott Cantor Date: Sat, 22 Sep 2007 04:08:59 +0000 Subject: [PATCH] Log exceptions during verify loop. --- 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