Skip to content

Commit

Permalink
[ts-sdk] Fix output errors of publish ANS contract script (#7926)
Browse files Browse the repository at this point in the history
  • Loading branch information
gregnazario authored Apr 26, 2023
1 parent e735a68 commit 36c557a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions ecosystem/typescript/sdk/scripts/publish_ans_contract.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@ try {
deleteAnsFolder();
} catch (error: any) {
console.error("An error occurred:");
console.error("parsed stdout", error.stdout.toString("utf8"));
console.error("parsed stderr", error.stderr.toString("utf8"));
console.error("Status", error?.status);
console.error("parsed stdout", error?.stdout?.toString("utf8"));
console.error("parsed stderr", error?.stderr?.toString("utf8"));
deleteAnsFolder();
process.exit(1);
}
Expand Down

0 comments on commit 36c557a

Please sign in to comment.