[cpp-sp] 01/02: Log generic exception message.

Scott Cantor cantor.2 at osu.edu
Mon Feb 5 16:04:09 EST 2018


This is an automated email from the git hooks/post-receive script.

scantor pushed a commit to branch master
in repository cpp-sp.

View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=15df672bd62297407e19215358d299ecb7cfac76

commit 15df672bd62297407e19215358d299ecb7cfac76
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Feb 5 16:03:22 2018 -0500

    Log generic exception message.
---
 shibsp/metadata/DynamicMetadataProvider.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shibsp/metadata/DynamicMetadataProvider.cpp b/shibsp/metadata/DynamicMetadataProvider.cpp
index d5361b8..8158c67 100644
--- a/shibsp/metadata/DynamicMetadataProvider.cpp
+++ b/shibsp/metadata/DynamicMetadataProvider.cpp
@@ -513,8 +513,8 @@ void *DynamicMetadataProvider::init_fn(void* pv)
             me->m_log.error("Filter error while reloading from cache (%s): %s", fullname.c_str(), msg.get());
             remove(fullname.c_str());
         }
-        catch (exception &e) {
-            me->m_log.error("Other error while reloading from cache (%s)", fullname.c_str());
+        catch (exception& e) {
+            me->m_log.error("Other error while reloading from cache (%s): %s", fullname.c_str(), e.what());
             remove(fullname.c_str());
         }
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list