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