This commit is contained in:
JohnCorby 2023-05-07 18:48:14 -07:00
parent bac3e44c91
commit 456238d456

View File

@ -64,7 +64,7 @@ namespace EpicTransport {
if (await Task.WhenAny(connectedCompleteTask, Task.Delay(ConnectionTimeout/*, cancelToken.Token*/)) != connectedCompleteTask) {
// CHANGED
OnReceivedError?.Invoke(TransportError.Timeout, "Connection to {host} timed out.");
OnReceivedError?.Invoke(TransportError.Timeout, $"Connection to {host} timed out.");
Debug.LogError($"Connection to {host} timed out.");
OnConnected -= SetConnectedComplete;
OnConnectionFailed(hostProductId);