Skip to content

Commit

Permalink
Update error logging.
Browse files Browse the repository at this point in the history
  • Loading branch information
jbouder committed Jan 9, 2024
1 parent 3ddf756 commit 95f998a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/comet-cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ program
const command = `git clone ${UI_REPO_URL} ${projectName}`;
exec(command, (err: any) => {
if (err) {
error(`Error: ${err}`);
error(`Error: ${err.message}`);
} else {
log('Project initialized successfully!');
}
Expand All @@ -57,7 +57,7 @@ program
const command = `git clone ${API_REPO_URL} ${projectName}`;
exec(command, (err) => {
if (err) {
error(`Error: ${err}`);
error(`Error: ${err.message}`);
} else {
log('Project initialized successfully!');
}
Expand Down

0 comments on commit 95f998a

Please sign in to comment.