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 d8cb97e commit 64babc3Copy full SHA for 64babc3
1 file changed
src/cli/logs-cli.ts
@@ -339,13 +339,17 @@ export function registerLogsCli(program: Command) {
339
if (opts.follow && followRetryAttempt < MAX_FOLLOW_RETRIES && isTransientFollowError(err)) {
340
followRetryAttempt += 1;
341
const backoffMs = computeBackoff(FOLLOW_BACKOFF_POLICY, followRetryAttempt);
342
- errorLine(
343
- colorize(
344
- rich,
345
- theme.warn,
346
- `[logs] gateway disconnected, reconnecting in ${Math.round(backoffMs / 1_000)}s...`,
347
- ),
348
- );
+ if (
+ !errorLine(
+ colorize(
+ rich,
+ theme.warn,
+ `[logs] gateway disconnected, reconnecting in ${Math.round(backoffMs / 1_000)}s...`,
+ ),
349
+ )
350
+ ) {
351
+ return;
352
+ }
353
await delay(backoffMs);
354
continue;
355
}
0 commit comments