From c581ab98560fe34d0985b6ba4ade80b3f19ec3ca Mon Sep 17 00:00:00 2001 From: Andrea Vibelli Date: Wed, 15 Jan 2025 07:52:30 +0100 Subject: [PATCH] fix: fixes after review --- .../jboss/sbomer/core/features/sbom/utils/PurlSanitizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/main/java/org/jboss/sbomer/core/features/sbom/utils/PurlSanitizer.java b/core/src/main/java/org/jboss/sbomer/core/features/sbom/utils/PurlSanitizer.java index 1f771690e..9c283b9a0 100644 --- a/core/src/main/java/org/jboss/sbomer/core/features/sbom/utils/PurlSanitizer.java +++ b/core/src/main/java/org/jboss/sbomer/core/features/sbom/utils/PurlSanitizer.java @@ -50,7 +50,7 @@ public static String sanitizePurl(String purl) { return parsedPurl.canonicalize(); } catch (MalformedPackageURLException e) { // If parsing fails, proceed to manual sanitization - log.error("Malformed PURL detected, attempting to sanitize: {}", purl, e.getMessage()); + log.error("Malformed PURL detected, attempting to sanitize: {}", purl); } // Manually parse and sanitize the PURL components