This is an automated email from the ASF dual-hosted git repository.
thiagohp pushed a commit to branch javax
in repository https://gitbox.apache.org/repos/asf/tapestry-5.git
The following commit(s) were added to refs/heads/javax by this push:
new 1372c5413 TAP5-2841: hide exception message in exception page
1372c5413 is described below
commit 1372c5413d0e098e6272488a3b7be5db341d39a1
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">