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