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:
parent
8729039698
commit
b5c057d550
2 changed files with 6 additions and 2 deletions
|
|
@ -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",
|
||||
|
|
|
|||
|
|
@ -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}`));
|
||||
});
|
||||
});
|
||||
});
|
||||
|
|
|
|||
Loading…
Reference in a new issue