Skip to content

Commit 233e6aa

Browse files
committed
fix: fix connectEventuallyUntilTimeout by retrying on exceptions
1 parent 4e46b5d commit 233e6aa

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/common/helpers.ts

+1
Original file line numberDiff line numberDiff line change
@@ -495,6 +495,7 @@ export async function connectEventuallyUntilTimeout(factory: () => Promise<net.S
495495
socket.on("error", tryConnectAfterTimeout);
496496
} catch (e) {
497497
lastKnownError = e;
498+
tryConnectAfterTimeout(e);
498499
}
499500
}
500501

0 commit comments

Comments
 (0)