This commit is contained in:
Leon Böttger committed 2025-05-30 21:11:50 +02:00
1 parent c68ca3376b
commit 98da599302
1 file changed
+1
+1
View File
@@ -84,6 +84,7 @@ class NearbyConnection {
self.lastError = err
log("Connection Error: \(err)")
// If the error is a connection reset, it could be due to firewall issues.
if err == .posix(.ENOTCONN) {
ConnectionFailureTracker.shared.recordFailure {
NearbyConnectionManager.shared.mainAppDelegate?.showFirewallAlert()