Log exceptions during verify loop.
authorcantor <cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0>
Sat, 22 Sep 2007 04:08:59 +0000 (04:08 +0000)
committercantor <cantor@fb386ef7-a10c-0410-8ebf-fd3f8e989ab0>
Sat, 22 Sep 2007 04:08:59 +0000 (04:08 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-opensaml2/trunk@312 fb386ef7-a10c-0410-8ebf-fd3f8e989ab0

samlsign/samlsign.cpp

index 04ceb52..1683edd 100644 (file)
@@ -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)