diff --git a/package.json b/package.json index d9088cda..218c5ac3 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,10 @@ "version": "0.1.0", "description": "Desktop app that visualizes Claude Code session execution — explore conversations, track context usage, and analyze tool calls", "license": "MIT", - "author": "claude-devtools contributors", + "author": { + "name": "claude-devtools contributors", + "email": "matt1398@users.noreply.github.com" + }, "homepage": "https://github.com/matt1398/claude-devtools", "repository": { "type": "git", diff --git a/src/main/services/infrastructure/SshConnectionManager.ts b/src/main/services/infrastructure/SshConnectionManager.ts index dcf40890..f8fdf48f 100644 --- a/src/main/services/infrastructure/SshConnectionManager.ts +++ b/src/main/services/infrastructure/SshConnectionManager.ts @@ -508,7 +508,8 @@ export class SshConnectionManager extends EventEmitter { resolve(stdout); return; } - reject(new Error(stderr.trim() || `Remote command failed with exit code ${code}`)); + const exitCode = code === null ? 'unknown' : String(code); + reject(new Error(stderr.trim() || `Remote command failed with exit code ${exitCode}`)); }); }); });