Skip to content

Commit ca0c701

Browse files
VSCode | Return Error when tenant configuration check failed (AST-70028) (#787)
* reject promise when tenant configuration checl failed and return the error * fix vuls * revert revert * add code owners * remove Or from code owners --------- Co-authored-by: AlvoBen <[email protected]>
1 parent ed28b72 commit ca0c701

File tree

3 files changed

+48
-41
lines changed

3 files changed

+48
-41
lines changed

CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@
22
# Each line is a file pattern followed by one or more owners
33

44
# Specify the default owners for the entire repository
5-
* @OrShamirCM @AlvoBen @pedrompflopes
5+
* @AlvoBen @greensd4 @miryamfoiferCX

package-lock.json

Lines changed: 46 additions & 40 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/main/wrapper/ExecutionService.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,6 +153,7 @@ export class ExecutionService {
153153
logger.info("Exit code received from AST-CLI: " + code);
154154
if(code==1){
155155
stderr = stdout
156+
reject(stderr)
156157
}
157158
resolve(ExecutionService.onCloseMapTenantOutputCommand(code, stderr, stdout));
158159
});

0 commit comments

Comments
 (0)