Skip to content

Commit

Permalink
Merge pull request #212445 from microsoft/ulugbekna/very-walrus
Browse files Browse the repository at this point in the history
fix runCommands safeStringify failing for large objects
  • Loading branch information
ulugbekna authored May 10, 2024
2 parents aef6b4c + 4ec594f commit dc7a2cd
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,9 +102,9 @@ class RunCommands extends Action2 {

logService.debug(`runCommands: executing ${i}-th command: ${safeStringify(cmd)}`);

const r = await this._runCommand(commandService, cmd);
await this._runCommand(commandService, cmd);

logService.debug(`runCommands: executed ${i}-th command with return value: ${safeStringify(r)}`);
logService.debug(`runCommands: executed ${i}-th command`);
}
} catch (err) {
logService.debug(`runCommands: executing ${i}-th command resulted in an error: ${err instanceof Error ? err.message : safeStringify(err)}`);
Expand Down

0 comments on commit dc7a2cd

Please sign in to comment.