Skip to content

Commit 01f0e67

Browse files
committed
bug fix
1 parent 2c05959 commit 01f0e67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rpc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ module.exports = class RPCServer extends EventEmitter {
127127
}
128128

129129
// check for pool connection. if not there, wait for it.
130-
while (!this.poolConnection) {
130+
while (!this.poolConnection && !this.poolError) {
131131
await sleep(200);
132132
}
133133
callback();

0 commit comments

Comments
 (0)