Log offending purl
This commit is contained in:
2
dist/index.js
generated
vendored
2
dist/index.js
generated
vendored
@@ -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
2
dist/index.js.map
generated
vendored
File diff suppressed because one or more lines are too long
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user