From 0ea70bc12cecd380a907323eba84ddb9d5a44e08 Mon Sep 17 00:00:00 2001 From: Peter Hale Date: Wed, 9 Mar 2022 11:30:42 -0700 Subject: [PATCH] fix: erturn error - dont throw @W-0@ --- src/sfCommand.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sfCommand.ts b/src/sfCommand.ts index e55bc2c95..59c0c9042 100644 --- a/src/sfCommand.ts +++ b/src/sfCommand.ts @@ -206,7 +206,7 @@ export abstract class SfCommand extends Command { if (this.jsonEnabled()) { CliUx.ux.styledJSON(this.toErrorJson(error)); } - throw error; + return error; } /**