You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
appLog.debug("ShapeshifterDispatcherSwift: new route created.")
46
+
appLog.debug("ShapeshifterDispatcher.handleListener: Created a new route.")
47
47
routes.append(route)
48
48
}
49
49
catch(let targetConnectionError)
50
50
{
51
-
appLog.error("Failed to connect to the application server. Error: \(targetConnectionError)")
52
-
tryawait listener.close()
53
-
return
51
+
appLog.warning("ShapeshifterDispatcher.handleListener: A client connection could not be accepted, we failed to connect to the application server. Reason: \(targetConnectionError)")
54
52
}
55
53
}
56
54
}
57
55
catchAsyncDarkstarServerError.blackHoled
58
56
{
59
-
appLog.error("ShapeshifterDispatcher.handleListener: Failed to accept a new connection: blackHoled")
57
+
appLog.warning("ShapeshifterDispatcher.handleListener: Failed to accept a new connection: blackHoled")
60
58
continue
61
59
}
62
-
catch
60
+
catchAsyncTcpSocketListenerError.socketError
63
61
{
64
-
appLog.error("ShapeshifterDispatcher.handleListener: Failed to accept a new connection: \(error)")
62
+
appLog.error("Received a socket error while trying to accept a connection. This is a fatal error. Exiting...")
63
+
Task
64
+
{
65
+
tryawait listener.close()
66
+
}
67
+
65
68
return
66
69
}
67
-
70
+
catch
71
+
{
72
+
appLog.warning("ShapeshifterDispatcher.handleListener: Failed to accept a new connection: \(error)")
0 commit comments