Skip to content

Commit e02c365

Browse files
gabetraugoneall
authored andcommitted
Issue 270 pass exception to catch throw in LicenseInfoFactory.java's parseSPDXLicenseStringCompatV2 method
Signed-off-by: gabe <[email protected]>
1 parent 65c57fd commit e02c365

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/org/spdx/library/LicenseInfoFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public static org.spdx.library.model.v2.license.AnyLicenseInfo parseSPDXLicenseS
111111
} catch (LicenseParserException e) {
112112
throw new InvalidLicenseStringException(e.getMessage(),e);
113113
} catch (InvalidSPDXAnalysisException e) {
114-
throw new InvalidLicenseStringException("Unexpected SPDX error parsing license string");
114+
throw new InvalidLicenseStringException("Unexpected SPDX error parsing license string", e);
115115
}
116116
}
117117

0 commit comments

Comments
 (0)