Skip to content

Commit

Permalink
log agent errors
Browse files Browse the repository at this point in the history
  • Loading branch information
tsirysndr committed Jul 27, 2024
1 parent 0c61986 commit 6fb47d3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -492,8 +492,10 @@ export async function stopServices(cwd: string) {

try {
await writeToSocket(cwd + "/" + socket, "stop\n");
} catch (_e) {
} catch (e) {
console.log(`Failed to stop ${green(service)}`);
console.log(e);
console.log(cwd, socket);
continue;
}

Expand Down

0 comments on commit 6fb47d3

Please sign in to comment.