Skip to content

Commit

Permalink
fix: erturn error - dont throw
Browse files Browse the repository at this point in the history
  • Loading branch information
peternhale committed Mar 9, 2022
1 parent 00449b6 commit 0ea70bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sfCommand.ts
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ export abstract class SfCommand<T> extends Command {
if (this.jsonEnabled()) {
CliUx.ux.styledJSON(this.toErrorJson(error));
}
throw error;
return error;
}

/**
Expand Down

0 comments on commit 0ea70bc

Please sign in to comment.