Skip to content

Commit

Permalink
Use console error instead of log for channel closed
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia committed Nov 26, 2024
1 parent ccc034a commit 3be8cb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/actors/proxyutil.ts
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ export class ActorAwaiter<
};
await Promise.all([recvLoop(), sendLoop()]);
if (ch.signal.aborted && !reliableCh.signal.aborted) {
console.log("channel closed, retrying...");
console.error("channel closed, retrying...");
await new Promise((resolve) => setTimeout(resolve, 2e3)); // retrying in 2 second
return nextConnection();
}
Expand Down

0 comments on commit 3be8cb7

Please sign in to comment.