diff options
author | Alex Auvolat <alex@adnab.me> | 2021-03-15 18:40:27 +0100 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2021-03-15 18:40:27 +0100 |
commit | 537f652fec479c7c5676bba14c23ea6634613122 (patch) | |
tree | c7e858c014849e7fe934826ec362e4d6cf3cbb11 /src/rpc/rpc_server.rs | |
parent | 0290afe1f8eafabf71695d677807e07658d078ab (diff) | |
download | garage-537f652fec479c7c5676bba14c23ea6634613122.tar.gz garage-537f652fec479c7c5676bba14c23ea6634613122.zip |
Tiny things
Diffstat (limited to 'src/rpc/rpc_server.rs')
-rw-r--r-- | src/rpc/rpc_server.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/rpc_server.rs b/src/rpc/rpc_server.rs index 1c6bc8d2..4d14b790 100644 --- a/src/rpc/rpc_server.rs +++ b/src/rpc/rpc_server.rs @@ -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 { |