[cpp-sp] branch main updated: Adjust exception reporting.

Scott Cantor cantor.2 at osu.edu
Mon Jun 2 12:26:33 UTC 2025


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

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

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

The following commit(s) were added to refs/heads/main by this push:
     new 4dec7f1f Adjust exception reporting.
4dec7f1f is described below

commit 4dec7f1fc0092ada7de240b24b881c8256b15981
Author: Scott Cantor <cantor.2 at osu.edu>
AuthorDate: Mon Jun 2 08:26:29 2025 -0400

    Adjust exception reporting.
---
 shibsp/remoting/impl/AbstractHTTPRemotingService.cpp | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/shibsp/remoting/impl/AbstractHTTPRemotingService.cpp b/shibsp/remoting/impl/AbstractHTTPRemotingService.cpp
index 08381c2a..0aa3f7b4 100644
--- a/shibsp/remoting/impl/AbstractHTTPRemotingService.cpp
+++ b/shibsp/remoting/impl/AbstractHTTPRemotingService.cpp
@@ -82,9 +82,9 @@ AbstractHTTPRemotingService::AbstractHTTPRemotingService(ptree& pt)
         struct stat stat_buf;
         if (stat(m_caFile.c_str(), &stat_buf) != 0) {
 #endif
-            throw ConfigurationException("Unable to access CA file.");
+            throw ConfigurationException(string("Unable to access CA file: ") + m_caFile);
         } else if (stat_buf.st_size == 0) {
-            throw ConfigurationException("CA file is empty.");
+            throw ConfigurationException(string("CA file is empty: ") + m_caFile);
         }
     }
 

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


More information about the commits mailing list