You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by th...@apache.org on 2026/10/04 15:14:19 UTC
(tapestry-5) branch master updated: TAP5-2841: hide exception message in exception page
This is an automated email from the ASF dual-hosted git repository.
thiagohp pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/master by this push:
new e2c473bb1 TAP5-2841: hide exception message in exception page
e2c473bb1 is described below
commit e2c473bb1011cc4292b6a6412b7cb698cac80aea
Author: Thiago H. de Paula Figueiredo <th...@arsmachina.com.br>
AuthorDate: Sun Oct 4 12:14:11 2026 -0300
TAP5-2841: hide exception message in exception page
when production mode is on
---
.../resources/org/apache/tapestry5/corelib/pages/ExceptionReport.tml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/pages/ExceptionReport.tml b/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/pages/ExceptionReport.tml
index 25a031c13..9d50364b3 100644
--- a/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/pages/ExceptionReport.tml
+++ b/tapestry-core/src/main/resources/org/apache/tapestry5/corelib/pages/ExceptionReport.tml
@@ -33,7 +33,7 @@
<div class="panel-heading">
<h2 class="panel-title">An exception has occurred processing this request.</h2>
</div>
- <div class="panel-body">
+ <div class="panel-body" t:type="If" t:test="!productionMode">
${rootException.message}
</div>
<t:if test="showActions">