mirror of
https://github.com/outbackdingo/firezone.git
synced 2026-01-27 10:18:54 +00:00
chore(phoenix-channel): log the portal's IP address on connect (#8088)
This commit is contained in:
@@ -92,7 +92,7 @@ async fn create_and_connect_websocket(
|
||||
user_agent: String,
|
||||
socket_factory: Arc<dyn SocketFactory<TcpSocket>>,
|
||||
) -> Result<WebSocketStream<MaybeTlsStream<TcpStream>>, InternalError> {
|
||||
tracing::debug!(host = url.host().map(tracing::field::display), %user_agent, "Connecting to portal");
|
||||
tracing::debug!(host = url.host().map(tracing::field::display), ?addresses, %user_agent, "Connecting to portal");
|
||||
|
||||
let duration = Duration::from_secs(5);
|
||||
let socket = tokio::time::timeout(duration, connect(addresses, &*socket_factory))
|
||||
|
||||
Reference in New Issue
Block a user