This is an automated email from the ASF dual-hosted git repository. remm pushed a commit to branch 9.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/9.0.x by this push: new 684a8aeebd Missing commit 684a8aeebd is described below commit 684a8aeebd403a15a9add59d8dceab389bc40924 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 b8031526d0..9008db20d6 100644 --- a/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java +++ b/java/org/apache/tomcat/websocket/WsRemoteEndpointImplBase.java @@ -242,7 +242,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