nym-client: revamped error message in websocket

This commit is contained in:
Dave Hrycyszyn
2020-01-24 14:57:39 +00:00
parent 6fb991a1b0
commit 28d8fbedc9
+1 -1
View File
@@ -191,7 +191,7 @@ impl ClientRequest {
if message_bytes.len() > sphinx::constants::MAXIMUM_PLAINTEXT_LENGTH {
return ServerResponse::Error {
message: format!(
"too long message. Sent {} bytes while the maximum is {}",
"message too long. Sent {} bytes, but the maximum is {}",
message_bytes.len(),
sphinx::constants::MAXIMUM_PLAINTEXT_LENGTH
)