add exception to logger

This commit is contained in:
Pasquale Cavallo
2020-08-13 15:23:04 +02:00
parent 01dac23829
commit 9051b54259

View File

@@ -78,7 +78,7 @@ public class EndnoteImportMetadataSourceServiceImpl extends AbstractPlainMetadat
lineForDebug++;
}
} catch (Exception e) {
throw new FileSourceException("Error reading file");
throw new FileSourceException("Error reading file", e);
}
return list;
}