Index: lams_central/web/error.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -rac9c27fe43c7732c0cb2a48b5470e6b9ac6397af --- lams_central/web/error.jsp (.../error.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_central/web/error.jsp (.../error.jsp) (revision ac9c27fe43c7732c0cb2a48b5470e6b9ac6397af) @@ -2,6 +2,8 @@ <%@ taglib uri="tags-lams" prefix="lams"%> <%@ taglib uri="tags-core" prefix="c"%> <%@ taglib uri="tags-fmt" prefix="fmt"%> +<%@ page import="org.lamsfoundation.lams.util.Configuration" import="org.lamsfoundation.lams.util.ConfigurationKeys" %> + @@ -14,7 +16,8 @@ <%-- The javascript method checkForErrorScreen in error.js is coded to match this page exactly. ---- If you change this page, please change the javascript. --%> <% -if (exception != null) { +if ( Configuration.getAsBoolean(ConfigurationKeys.ERROR_STACK_TRACE) ) { +if (exception != null ) { %> <%=exception.getMessage()%> @@ -53,18 +56,21 @@ <% } +} %>
+ +