Skip to content

Commit

Permalink
fix(classifier): log rather than throw on failed classification
Browse files Browse the repository at this point in the history
  • Loading branch information
coolaj86 committed Aug 20, 2024
1 parent c71126f commit 566b5c0
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion _webi/builds-cacher.js
Original file line number Diff line number Diff line change
Expand Up @@ -592,7 +592,14 @@ BuildsCacher.create = function ({ ALL_TERMS, installers, caches }) {
// {NAME}.windows.x86_64v2.musl.exe
// windows-x86_64_v2-musl
target = { triplet: '' };
void Triplet.termsToTarget(target, projInfo, build, terms);
try {
void Triplet.termsToTarget(target, projInfo, build, terms);
} catch (e) {
console.error(`PACKAGE FORMAT CHANGE for '${projInfo.name}':`);
console.error(e.message);
console.error(build);
return null;
}

target.triplet = `${target.arch}-${target.vendor}-${target.os}-${target.libc}`;

Expand Down

0 comments on commit 566b5c0

Please sign in to comment.