[MNT-24127] Added Endpoint to Calculate Size of the folder with Integration Test Cases [ags][tas]

This commit is contained in:
mohit-singh4
2024-07-02 14:40:13 +05:30
parent 98a9d6467c
commit 1f1d80d93d
3 changed files with 6 additions and 4 deletions

View File

@@ -256,7 +256,10 @@ public class NodeFolderSizeRelation implements CalculateSize<Map<String, Object>
if(folderSizeAction!=null)
{
String errorInAction = (String) folderSizeAction.getParameterValue(NodeSizeActionExecuter.ERROR);
throw new InvalidNodeTypeException(errorInAction);
if(errorInAction.length()>1)
{
throw new InvalidNodeTypeException(errorInAction);
}
}
}