Log offending purl

This commit is contained in:
Justin Holguín
2024-04-26 21:50:12 +00:00
committed by GitHub
parent a3460920cc
commit 7e773b1e98
3 changed files with 3 additions and 3 deletions

2
dist/index.js generated vendored
View File

@@ -190,7 +190,7 @@ function getDeniedChanges(changes_1) {
changedPackage = packageurl_js_1.PackageURL.fromString(change.package_url);
}
catch (error) {
core.error(`Error parsing package URL: ${error}`);
core.error(`Error parsing package URL '${change.package_url}': ${error}`);
continue;
}
for (const denied of deniedPackages) {

2
dist/index.js.map generated vendored

File diff suppressed because one or more lines are too long

View File

@@ -15,7 +15,7 @@ export async function getDeniedChanges(
try {
changedPackage = PackageURL.fromString(change.package_url)
} catch (error) {
core.error(`Error parsing package URL: ${error}`)
core.error(`Error parsing package URL '${change.package_url}': ${error}`)
continue
}