Data Request API helper #10

Merged
Oliver merged 94 commits from feat/data-requests into main 2025-11-22 02:51:15 +00:00
2 changed files with 2 additions and 4 deletions
Showing only changes of commit 022b6c5b31 - Show all commits

View file

@ -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();

View file

@ -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) {
Oliver marked this conversation as resolved

Remove log

Remove log
console.error("Error", err);
console.error("Upload to s3 failed");
};
Oliver marked this conversation as resolved

Remove inclusion of err

Remove inclusion of `err`
};