When SSH timed out, the onClose callback referenced `const sessionId` before connect() resolved, causing a Temporal Dead Zone ReferenceError that killed the process. Changed to `let` with try/catch so connection failures send an error message to the client instead of crashing. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| sftp.gateway.ts | ||
| ssh-connection.service.ts | ||
| terminal.gateway.ts | ||
| terminal.module.ts | ||