[feature/MNT-24127-EndpointToCalculateFolderSize] Updated endpoints flow to calculate and retrieve folder size details

This commit is contained in:
mohit-singh4
2024-08-23 14:34:32 +05:30
parent d3b9ef1ef8
commit 00bfbff922
4 changed files with 14 additions and 14 deletions

View File

@@ -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;
}