This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch main in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/main by this push: new 42c5a0fa07 Missing commit 42c5a0fa07 is described below commit 42c5a0fa0718d99de572323aa9094bc694323b64 Author: remm <r...@apache.org> AuthorDate: Fri Feb 16 14:04:31 2024 +0100 Missing commit --- java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java b/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java index 215508518f..9843a77115 100644 --- a/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java +++ b/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java @@ -246,7 +246,7 @@ public abstract class WsRemoteEndpointImplBase implements RemoteEndpoint { encoderBuffer.clear(); CoderResult cr = encoder.encode(part, encoderBuffer, true); if (cr.isError()) { - throw new IllegalArgumentException(cr.toString()); + throw new IllegalArgumentException(sm.getString("wsRemoteEndpoint.encoderError", cr)); } isDone = !cr.isOverflow(); encoderBuffer.flip(); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org