diff --git a/main.js b/main.js index b45bf6f4..275ad4cf 100644 --- a/main.js +++ b/main.js @@ -92,6 +92,9 @@ async function main() { artifacts = artifacts.data.artifacts } + if (artifacts.length == 0) + throw new Error("no artifacts found") + for (const artifact of artifacts) { console.log("==> Artifact:", artifact.id)