Remove / tweak error messages
This commit is contained in:
parent
cb334f41de
commit
022b6c5b31
2 changed files with 2 additions and 4 deletions
|
|
@ -43,11 +43,10 @@ async function main() {
|
|||
await addReleaseAsset(release.data.id, `system.json`);
|
||||
} catch (e) {
|
||||
console.error(`Failed to add assets to the release`);
|
||||
console.error(e)
|
||||
process.exit(1);
|
||||
};
|
||||
|
||||
console.log(`Release created, and files uploaded successfully!`);
|
||||
console.log(`Release created`);
|
||||
};
|
||||
|
||||
main();
|
||||
|
|
|
|||
|
|
@ -57,9 +57,8 @@ async function main() {
|
|||
try {
|
||||
const response = await s3Client.send(new PutObjectCommand(params));
|
||||
console.log("Upload successful");
|
||||
console.log(response);
|
||||
} catch (err) {
|
||||
console.error("Error", err);
|
||||
console.error("Upload to s3 failed");
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue