Skip to content
Snippets Groups Projects
Commit b96cb847 authored by Andreas Romeyke's avatar Andreas Romeyke
Browse files

- added a try-catch around fixity.getPluginName() call

parent 4cd54b56
No related branches found
No related tags found
No related merge requests found
......@@ -70,7 +70,7 @@
</fr:x_form>
</pl:initParameters>
<pl:description>SLUB Storage Plugin</pl:description>
<pl:version>2.808</pl:version>
<pl:version>2.809</pl:version>
<pl:materialType>DIGITAL</pl:materialType>
<pl:module>Repository</pl:module>
<pl:generalType>TASK</pl:generalType>
......
......@@ -158,7 +158,12 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
*/
private boolean checkFixityByPlugin(Fixity fixity, String storedEntityIdentifier, boolean isRelativePath, boolean result) throws Exception {
log.info("SLUBStoragePlugin.checkFixity() another fixity");
try {
log.info("SLUBStoragePlugin.checkFixity() pluginname=" + fixity.getPluginName());
}
catch (Exception e) {
log.warn("SLUBStoragePlugin failed to get pluginname ", e.getMessage());
}
String oldValue = "";
try {
oldValue = fixity.getValue();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment