added catch of all exception on unshare during delete

This commit is contained in:
lucio.lelii 2021-01-13 10:46:58 +01:00
parent cbb77864c5
commit 94cb6e4cd3
2 changed files with 22 additions and 10 deletions

View File

@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
@ -9,7 +10,8 @@
<wb-module deploy-name="storagehub">
@ -19,7 +21,8 @@
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
@ -29,7 +32,8 @@
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
@ -39,7 +43,8 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
@ -49,7 +54,11 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<dependent-module archiveName="storagehub-model-1.0.9.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/storagehub-model/storagehub-model">
<dependency-type>uses</dependency-type>
</dependent-module>
@ -59,7 +68,8 @@
<property name="context-root" value="storagehub"/>
@ -69,7 +79,8 @@
<property name="java-output-path" value="/storagehub-webapp_BRANCH/target/classes"/>
@ -79,7 +90,8 @@
</wb-module>

View File

@ -186,7 +186,7 @@ public class UserManager {
try {
unshareHandler.unshare(session, usersToUnshare, rNode, user);
}catch (InvalidCallParameters e) {
}catch (Throwable e) {
log.warn("error unsharing folder {}", title,e);
}
}