You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by ma...@apache.org on 2019/04/08 20:41:30 UTC
[tomcat] branch master updated: Include error message in debug log
This is an automated email from the ASF dual-hosted git repository.
markt pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/master by this push:
new a25adf9 Include error message in debug log
a25adf9 is described below
commit a25adf9bde66ad64a12f10ddaa39730855545ada
Author: Mark Thomas <ma...@apache.org>
AuthorDate: Mon Apr 8 21:40:39 2019 +0100
Include error message in debug log
---
java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java b/java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java
index 91bd857..f4559a3 100644
--- a/java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java
+++ b/java/org/apache/coyote/http2/Http2AsyncUpgradeHandler.java
@@ -103,7 +103,7 @@ public class Http2AsyncUpgradeHandler extends Http2UpgradeHandler {
void sendStreamReset(StreamException se) throws IOException {
if (log.isDebugEnabled()) {
log.debug(sm.getString("upgradeHandler.rst.debug", connectionId,
- Integer.toString(se.getStreamId()), se.getError()));
+ Integer.toString(se.getStreamId()), se.getError(), se.getMessage()));
}
// Write a RST frame
byte[] rstFrame = new byte[13];
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org