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

- fixed wrong log warning

parent de782db9
No related branches found
No related tags found
No related merge requests found
...@@ -165,7 +165,7 @@ public class SLUBStoragePlugin extends AbstractStorageHandler { ...@@ -165,7 +165,7 @@ public class SLUBStoragePlugin extends AbstractStorageHandler {
log.info("SLUBStoragePlugin.checkFixity() oldvalue=" + oldValue); log.info("SLUBStoragePlugin.checkFixity() oldvalue=" + oldValue);
} }
catch (Exception e) { catch (Exception e) {
log.warn("SLUBStoragePlugin failed to get previous fixity value for file " + file.getPath(), e.getMessage()); log.warn("SLUBStoragePlugin failed to get previous fixity value ", e.getMessage());
} }
fixity.setValue(getChecksumUsingPlugin(isRelativePath ? getLocalFilePath(storedEntityIdentifier) : storedEntityIdentifier, fixity.getPluginName(), oldValue)); fixity.setValue(getChecksumUsingPlugin(isRelativePath ? getLocalFilePath(storedEntityIdentifier) : storedEntityIdentifier, fixity.getPluginName(), oldValue));
fixity.setResult((oldValue == null) || (oldValue.equals(fixity.getValue()))); fixity.setResult((oldValue == null) || (oldValue.equals(fixity.getValue())));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment