Altered error handling so that local system configuration information is not exposed...
[java-idp.git] / src / edu / internet2 / middleware / shibboleth / shire / ShireServlet.java
index d62bee9..5b29bb0 100755 (executable)
@@ -444,7 +444,8 @@ public class ShireServlet extends HttpServlet {
                        response.addCookie(cookie);
 
                } catch (IOException e) {
-                       throw new ShireException("Unable to write session to file (" + filename + ") : " + e);
+                       log.error("Unable to write session to file (" + filename + ") : " + e);
+                       throw new ShireException("Unable to share session with SHAR.");
                }
        }