Skip to content

Commit

Permalink
chore: print exit code in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
chengcyber committed Jul 11, 2024
1 parent 03e6bcb commit f5e91ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/sparo-lib/src/cli/commands/pull.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export class PullCommand implements ICommand<IPullCommandOptions> {

if (pullProcess.status !== 0) {
// Pull failed
throw new Error('"git pull" operation failed');
throw new Error(`"git pull" operation failed (exit code ${pullProcess.status})`);
}

// check whether profile exist in local branch
Expand Down

0 comments on commit f5e91ca

Please sign in to comment.