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

- added more logging infos

parent 5d728dca
Branches
Tags
No related merge requests found
......@@ -70,7 +70,7 @@
</fr:x_form>
</pl:initParameters>
<pl:description>SLUB Storage Plugin</pl:description>
<pl:version>1.1</pl:version>
<pl:version>1.2</pl:version>
<pl:materialType>DIGITAL</pl:materialType>
<pl:module>Repository</pl:module>
<pl:generalType>TASK</pl:generalType>
......
......@@ -138,11 +138,13 @@ public class SLUBStoragePlugin extends NFSStoragePlugin {
/** copied from NFS Storage Plugin, enhanced with debugging info, {@inheritDoc} */
private boolean canHandleSourcePath(String srcPath) {
log.info("SLUBStoragePlugin.canHandleSourcePath path=" + srcPath);
try {
File file = new File(srcPath);
return file.canRead();
}
catch (Exception e) {
log.warn("SLUBStoragePlugin.canHandleSourcePath exception=" + e.getMessage());
return false;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment