You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-commits@axis.apache.org by ve...@apache.org on 2024/10/06 18:38:08 UTC
(axis-axis2-java-core) branch master updated: Log unexpected exception in the simple HTTP server
This is an automated email from the ASF dual-hosted git repository.
veithen pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/axis-axis2-java-core.git
The following commit(s) were added to refs/heads/master by this push:
new 8f800132d2 Log unexpected exception in the simple HTTP server
8f800132d2 is described below
commit 8f800132d21da4697a844a7022941f299d408396
Author: Andreas Veithen <an...@gmail.com>
AuthorDate: Sun Oct 6 19:37:59 2024 +0100
Log unexpected exception in the simple HTTP server
---
.../org/apache/axis2/transport/http/server/HttpServiceProcessor.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/server/HttpServiceProcessor.java b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/server/HttpServiceProcessor.java
index c5f1f7f5de..faeaa35f87 100644
--- a/modules/transport/http/src/main/java/org/apache/axis2/transport/http/server/HttpServiceProcessor.java
+++ b/modules/transport/http/src/main/java/org/apache/axis2/transport/http/server/HttpServiceProcessor.java
@@ -95,6 +95,8 @@ public class HttpServiceProcessor implements IOProcessor {
if (LOG.isWarnEnabled()) {
LOG.warn("HTTP protocol error: " + ex.getMessage());
}
+ } catch (Throwable ex) {
+ LOG.error("Unexpected exception", ex);
} finally {
destroy();
if (this.callback == null) {