Update package.json to include author email and enhance error handling in SshConnectionManager

- Modified the author field in package.json to include an email address for better attribution.
- Improved error handling in SshConnectionManager by providing a clearer exit code message when remote command execution fails.
This commit is contained in:
matt 2026-02-14 12:17:04 +09:00
parent 8729039698
commit b5c057d550
2 changed files with 6 additions and 2 deletions

View file

@ -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",

View file

@ -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}`));
});
});
});