Page MenuHomePhabricator

D13463.diff
No OneTemporary

D13463.diff

diff --git a/services/tunnelbroker/src/websockets/mod.rs b/services/tunnelbroker/src/websockets/mod.rs
--- a/services/tunnelbroker/src/websockets/mod.rs
+++ b/services/tunnelbroker/src/websockets/mod.rs
@@ -155,7 +155,7 @@
if let Err(send_error) =
outgoing.send(Message::Text(serialized_response)).await
{
- error!("Failed to send init error response: {:?}", send_error);
+ debug!("Failed to send init error response: {:?}", send_error);
}
}
Err(ser_error) => {
@@ -212,13 +212,13 @@
session
}
Err((err, outgoing)) => {
- error!("Failed to create session with device");
+ debug!("Failed to create session with device");
send_error_init_response(err, outgoing).await;
return;
}
}
} else {
- error!("Failed to create session with device");
+ debug!("Failed to create session with device");
send_error_init_response(SessionError::InvalidMessage, outgoing).await;
return;
};
diff --git a/services/tunnelbroker/src/websockets/session.rs b/services/tunnelbroker/src/websockets/session.rs
--- a/services/tunnelbroker/src/websockets/session.rs
+++ b/services/tunnelbroker/src/websockets/session.rs
@@ -210,7 +210,7 @@
handle_first_message_from_device(&payload).await?
}
_ => {
- error!("Client sent wrong frame type for establishing connection");
+ debug!("Client sent wrong frame type for establishing connection");
return Err(SessionError::InvalidMessage);
}
};

File Metadata

Mime Type
text/plain
Expires
Fri, Nov 22, 4:15 PM (17 h, 57 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2562565
Default Alt Text
D13463.diff (1 KB)

Event Timeline