mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-10-08 14:51:49 +00:00
[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details
This commit is contained in:
@@ -105,8 +105,8 @@ public class NodeSizeDetailsActionExecutor extends ActionExecuterAbstractBase
|
||||
}
|
||||
catch (NumberFormatException numberFormatException)
|
||||
{
|
||||
LOG.error("Exception occurred while parsing String to INT: {}", numberFormatException.getMessage());
|
||||
response.put(EXCEPTION,numberFormatException.getMessage());
|
||||
LOG.error("Exception occurred while parsing String to INT: {} ", numberFormatException.getMessage());
|
||||
response.put(EXCEPTION,"Exception occurred while parsing String to INT: {} " + numberFormatException.getMessage());
|
||||
simpleCache.put(actionedUponNodeRef.getId(),response);
|
||||
throw numberFormatException;
|
||||
}
|
||||
@@ -160,8 +160,8 @@ public class NodeSizeDetailsActionExecutor extends ActionExecuterAbstractBase
|
||||
}
|
||||
catch (RuntimeException runtimeException)
|
||||
{
|
||||
LOG.error("Exception occurred in NodeSizeDetailsActionExecutor:results {}", runtimeException.getMessage());
|
||||
response.put(EXCEPTION,runtimeException.getMessage());
|
||||
LOG.error("Exception occurred in NodeSizeDetailsActionExecutor:results {} ", runtimeException.getMessage());
|
||||
response.put(EXCEPTION,"Exception occurred in NodeSizeDetailsActionExecutor:results {} "+runtimeException.getMessage());
|
||||
simpleCache.put(nodeRef.getId(),response);
|
||||
throw runtimeException;
|
||||
}
|
||||
|
Reference in New Issue
Block a user