You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tapestry.apache.org by hl...@apache.org on 2014/06/17 20:04:08 UTC

[2/2] git commit: Write the remoteHost property to the exception report file

Write the remoteHost property to the exception report file


Project: http://git-wip-us.apache.org/repos/asf/tapestry-5/repo
Commit: http://git-wip-us.apache.org/repos/asf/tapestry-5/commit/4780b04b
Tree: http://git-wip-us.apache.org/repos/asf/tapestry-5/tree/4780b04b
Diff: http://git-wip-us.apache.org/repos/asf/tapestry-5/diff/4780b04b

Branch: refs/heads/master
Commit: 4780b04b5c2bdebbd3f4f96691e3f15727b5cb09
Parents: b2c2fff
Author: Howard M. Lewis Ship <hl...@apache.org>
Authored: Tue Jun 17 11:04:01 2014 -0700
Committer: Howard M. Lewis Ship <hl...@apache.org>
Committed: Tue Jun 17 11:04:01 2014 -0700

----------------------------------------------------------------------
 .../internal/services/exceptions/ExceptionReporterImpl.java         | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/tapestry-5/blob/4780b04b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/exceptions/ExceptionReporterImpl.java
----------------------------------------------------------------------
diff --git a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/exceptions/ExceptionReporterImpl.java b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/exceptions/ExceptionReporterImpl.java
index 06ba0d4..6a9bfad 100644
--- a/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/exceptions/ExceptionReporterImpl.java
+++ b/tapestry-core/src/main/java/org/apache/tapestry5/internal/services/exceptions/ExceptionReporterImpl.java
@@ -270,6 +270,7 @@ public class ExceptionReporterImpl implements ExceptionReporter
             pw.write("path", request.getPath());
             pw.write("locale", request.getLocale());
             pw.write("serverName", request.getServerName());
+            pw.write("remoteHost", request.getRemoteHost());
             writer.print("\nHeaders:\n");
             for (String name : request.getHeaderNames())
             {