File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ private void initializeLicenseModelStore() {
126126 try {
127127 baseModelStore = new SpdxListedLicenseLocalStore ();
128128 } catch (InvalidSPDXAnalysisException ex ) {
129- logger .error ("Error loading cached SPDX licenses" );
129+ logger .error ("Error loading cached SPDX licenses" , ex );
130130 throw new RuntimeException ("Unexpected error loading SPDX Listed Licenses" );
131131 }
132132 }
Original file line number Diff line number Diff line change @@ -180,8 +180,10 @@ private void loadIds() throws InvalidSPDXAnalysisException {
180180 ExceptionJsonTOC exceptionToc = gson .fromJson (tocJsonStr .toString (), ExceptionJsonTOC .class );
181181 exceptionIds = exceptionToc .getExceptionIds ();
182182 } catch (MalformedURLException e ) {
183+ logger .error ("License TOC URL invalid" , e );
183184 throw new SpdxListedLicenseException ("License TOC URL invalid" , e ) ;
184185 } catch (IOException e ) {
186+ logger .error ("I/O error reading license TOC" , e );
185187 throw new SpdxListedLicenseException ("I/O error reading license TOC" , e );
186188 } finally {
187189 if (reader != null ) {
You can’t perform that action at this time.
0 commit comments