forked from kemitix/git-next
fix: don't log content of internal messages
This commit is contained in:
parent
656ec4a534
commit
3ae113212a
1 changed files with 0 additions and 2 deletions
|
@ -231,10 +231,8 @@ impl ServerActor {
|
|||
Self: actix::Handler<M>,
|
||||
<M as actix::Message>::Result: Send,
|
||||
{
|
||||
tracing::info!(?msg, "send");
|
||||
if let Some(message_log) = &self.message_log {
|
||||
let log_message = format!("send: {:?}", msg);
|
||||
tracing::debug!(log_message);
|
||||
if let Ok(mut log) = message_log.write() {
|
||||
log.push(log_message);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue