We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bdd32e3 commit c349ba1Copy full SHA for c349ba1
1 file changed
src/connection.ts
@@ -1931,7 +1931,8 @@ class Connection extends EventEmitter {
1931
});
1932
}, (err) => {
1933
this.clearConnectTimer();
1934
- if (err.name === 'AbortError') {
+
1935
+ if (signal.aborted) {
1936
// Ignore the AbortError for now, this is still handled by the connectTimer firing
1937
return;
1938
}
@@ -2089,7 +2090,8 @@ class Connection extends EventEmitter {
2089
2090
this.socketHandlingForSendPreLogin(socket);
2091
})().catch((err) => {
2092
- if (err === signal.reason) {
2093
2094
2095
2096
2097
0 commit comments