Switch response code on error pages to 500.
authorcantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 21 Apr 2009 18:51:26 +0000 (18:51 +0000)
committercantor <cantor@cb58f699-b61c-0410-a6fe-9272a202ed29>
Tue, 21 Apr 2009 18:51:26 +0000 (18:51 +0000)
git-svn-id: https://svn.middleware.georgetown.edu/cpp-sp/branches/REL_2@2978 cb58f699-b61c-0410-a6fe-9272a202ed29

shibsp/ServiceProvider.cpp

index 3b6eac5..e723808 100644 (file)
@@ -106,7 +106,7 @@ namespace shibsp {
                 tp.setPropertySet(props);
                 stringstream str;
                 XMLToolingConfig::getConfig().getTemplateEngine()->run(infile, str, tp, tp.getRichException());
-                return request.sendResponse(str);
+                return request.sendError(str);
             }
         }