diff --git a/commands/services/tail.ts b/commands/services/tail.ts index 28b38b2..58f368e 100644 --- a/commands/services/tail.ts +++ b/commands/services/tail.ts @@ -59,7 +59,11 @@ export const servicesTailCommand = let writer: WritableStreamDefaultWriter; try { - conn = await stream.connection; + if(stream.connection) { + conn = await stream.connection; + } else { + conn = await stream.opened; + } reader = await conn.readable.getReader(); writer = await conn.writable.getWriter(); } catch (err) {