wraith/backend/src/terminal
Vantz Stockwell 639ac329a8 fix: TDZ crash on SSH connect failure — sessionId referenced before assignment
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>
2026-03-14 00:50:35 -04:00
..
sftp.gateway.ts fix: bypass NestJS WsAdapter — manual WebSocket upgrade handling 2026-03-13 23:12:01 -04:00
ssh-connection.service.ts feat: SSH terminal gateway — ssh2 proxy over WebSocket 2026-03-12 17:17:12 -04:00
terminal.gateway.ts fix: TDZ crash on SSH connect failure — sessionId referenced before assignment 2026-03-14 00:50:35 -04:00
terminal.module.ts fix: bypass NestJS WsAdapter — manual WebSocket upgrade handling 2026-03-13 23:12:01 -04:00