You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2019/10/30 10:04:08 UTC
[tomcat] branch master updated: Add missing i18n
This is an automated email from the ASF dual-hosted git repository.
remm 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 7eb93de Add missing i18n
7eb93de is described below
commit 7eb93de5ad1477fa9f1fac8d5cdcd45fa2006beb
Author: remm <re...@apache.org>
AuthorDate: Wed Oct 30 11:03:55 2019 +0100
Add missing i18n
---
java/org/apache/coyote/AbstractProtocol.java | 4 ++--
java/org/apache/coyote/LocalStrings.properties | 2 ++
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/java/org/apache/coyote/AbstractProtocol.java b/java/org/apache/coyote/AbstractProtocol.java
index d3d9d93..d30862e 100644
--- a/java/org/apache/coyote/AbstractProtocol.java
+++ b/java/org/apache/coyote/AbstractProtocol.java
@@ -1117,7 +1117,7 @@ public abstract class AbstractProtocol<S> implements ProtocolHandler,
rpName, null);
rp.setRpName(rpName);
} catch (Exception e) {
- getLog().warn("Error registering request");
+ getLog().warn(sm.getString("abstractProtocol.processorRegisterError"), e);
}
}
}
@@ -1142,7 +1142,7 @@ public abstract class AbstractProtocol<S> implements ProtocolHandler,
rpName);
rp.setRpName(null);
} catch (Exception e) {
- getLog().warn("Error unregistering request", e);
+ getLog().warn(sm.getString("abstractProtocol.processorUnregisterError"), e);
}
}
}
diff --git a/java/org/apache/coyote/LocalStrings.properties b/java/org/apache/coyote/LocalStrings.properties
index 90159d3..6eb6dc5 100644
--- a/java/org/apache/coyote/LocalStrings.properties
+++ b/java/org/apache/coyote/LocalStrings.properties
@@ -33,6 +33,8 @@ abstractProcessor.pushrequest.notsupported=Server push requests are not supporte
abstractProcessor.socket.ssl=Exception getting SSL attributes
abstractProtocol.mbeanDeregistrationFailed=Failed to deregister MBean named [{0}] from MBean server [{1}]
+abstractProtocol.processorRegisterError=Error registering request processor
+abstractProtocol.processorUnregisterError=Error unregistering request processor
abstractProtocolHandler.asyncTimeoutError=Error processing async timeouts
abstractProtocolHandler.destroy=Destroying ProtocolHandler [{0}]
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org