Tiny things

This commit is contained in:
Alex Auvolat
2021-03-15 18:40:27 +01:00
parent 0290afe1f8
commit 537f652fec
2 changed files with 2 additions and 1 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ where
trace!(
"Request message: {}",
serde_json::to_string(&msg).unwrap_or("<json error>".into())
serde_json::to_string(&msg).unwrap_or("<json error>".into()).chars().take(100).collect::<String>()
);
match handler(msg, sockaddr).await {