This is an automated email from the ASF dual-hosted git repository.
thiagohp pushed a commit to branch 5.9.x
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/5.9.x by this push:
new 4053ca95b TAP5-2841: hide exception message in exception page
4053ca95b is described below
commit 4053ca95b0110e0ba9ef1cd69d76f22649b16f11
Author: Thiago H. de Paula Figueiredo <[email protected]>
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">